#2F7EAA#2F7EAA
#2F7EAA is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.5% C 0.102 H 237.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EAA |
|---|---|
| RGB | rgb(47, 126, 170) |
| HSL | hsl(201, 57%, 43%) |
| HSV | hsv(201, 72%, 67%) |
| CMYK | cmyk(72.4%, 25.9%, 0%, 33.3%) |
| CIE-LAB | lab(50.01, -9.10, -30.31) |
| CIE-LCH | lch(50.01, 31.65, 253.28°) |
| OKLab | oklab(56.48% -0.0552 -0.0854) |
| OKLCH | oklch(56.48% 0.102 237.1) |
| XYZ | xyz(15.8860, 18.4265, 40.7419) |
| Luminance | 0.1843 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.50
Cerulean
#007BA7
ΔE00 2.80
Steel Blue
#4682B4
ΔE00 4.19
Stormy Blue
#507B9C
ΔE00 4.44
Cool Blue
#4984B8
ΔE00 5.07
Dirty Blue
#3F829D
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EAA #AA5B2F
analogous
#2FAA98 #2F7EAA #2F41AA
triadic
#2F7EAA #AA2F7E #7EAA2F
tetradic
#2F7EAA #982FAA #AA5B2F #41AA2F
square
#2F7EAA #982FAA #AA5B2F #41AA2F
split-complementary
#2F7EAA #AA2F41 #AA982F
monochromatic
#14374A #225A7A #2F7EAA #499ECD #79B7DA
Accessibility & contrast
On white
4.48
#2F7EAA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#2F7EAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EAA
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EAA | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697EAC
Deuteranopia (green-blind)
#5872A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7eaa; /* rgb */ color: rgb(47, 126, 170); /* oklch */ color: oklch(56.5% 0.102 237.1);
Tailwind
colors: {
custom: {
50: '#78a3c3',
500: '#2f7eaa',
950: '#000000',
},
}SCSS
$custom: #2f7eaa; $custom-light: #78a3c3; $custom-dark: #000000;
JSON
{
"hex": "#2f7eaa",
"rgb": {
"r": 47,
"g": 126,
"b": 170
},
"hsl": {
"h": 201.463,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.56483,
"c": 0.1017,
"h": 237.1
},
"luminance": 0.18428
}Semantic roles & 50–950 ramp
primary
#2F7EAA
secondary
#C28F72
accent
#7E48E0
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81