Nearest named color · #1F7EAB
#1F7EAB
Nearest named color: Neptune
#1F7EAB (rgb(31 126 171), hsl(199 69% 40%), oklch(0.561 0.109 234.9)) is closest to the named color Neptune. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1F7EAB
oklch(0.561 0.109 234.9)
Color conversions
- HEX
- #1f7eab
- RGB
- rgb(31 126 171)
- HSL
- hsl(199 69% 40%)
- HWB
- hwb(199 12% 33%)
- OKLCH
- oklch(0.561 0.109 234.9)
- OKLab
- oklab(0.561 -0.062 -0.089)
- CIE Lab
- lab(49.17 -15.26 -32.15)
- LCH
- lch(49.17 35.59 244.6)
- CMYK
- cmyk(82% 26% 0% 33%)
Tints · Shades · Tones
Tints
- 3E8BB4
- 5697BC
- 6CA4C5
- 81B1CD
- 96BED6
- ABCBDE
- C0D8E6
- D5E5EF
- EAF2F7
Shades
- 196D94
- 145C7E
- 0F4C68
- 0A3C54
- 062D40
- 031F2D
- 01111B
- 00050B
- 000101
Tones
- 307FA7
- 3D7FA3
- 48809F
- 52809B
- 5B8096
- 638092
- 6B808E
- 728089
- 798085
Color harmonies
Complementary +180°
- 1F7EAB
Neptune
- A56230
≈ Mai Tai
Analogous -30° +30°
- 1F7EAB
Neptune
- 00858F
≈ Ocean Soul
- 5573B5
≈ Prefect
Triadic +120° +240°
- 1F7EAB
Neptune
- A65878
≈ Cranbrook
- 737C26
≈ Ripe Green
Split-complementary +150° +210°
- 1F7EAB
Neptune
- AB5954
≈ Artisan Red
- 926F14
≈ Honey Yellow Green
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.53:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 31
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--neptune: #1f7eab;
--neptune-rgb: 31 126 171;
--neptune-oklch: oklch(0.561 0.109 234.9);
}
.element {
color: var(--neptune);
background-color: hsl(199 69% 40%);
border-color: oklch(0.561 0.109 234.9);
}Tailwind CSS v4
@theme {
--color-neptune: #1f7eab;
--color-neptune-50: #d9fbff;
--color-neptune-100: #c7eeff;
--color-neptune-200: #a8dcfd;
--color-neptune-300: #80c0e8;
--color-neptune-400: #57a9d5;
--color-neptune-500: #2691c3;
--color-neptune-600: #237aa5;
--color-neptune-700: #1c6284;
--color-neptune-800: #0f4862;
--color-neptune-900: #0a3244;
--color-neptune-950: #001e2c;
}SCSS
$neptune: #1f7eab;
$neptune-rgb: 31, 126, 171;
$neptune-light: mix(#fff, $neptune, 20%);
$neptune-dark: mix(#000, $neptune, 20%);
.element {
color: $neptune;
box-shadow: 0 0 0 2px rgba($neptune, 0.35);
}