#2F7BAA#2F7BAA
#2F7BAA is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.104 H 239.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7BAA |
|---|---|
| RGB | rgb(47, 123, 170) |
| HSL | hsl(203, 57%, 43%) |
| HSV | hsv(203, 72%, 67%) |
| CMYK | cmyk(72.4%, 27.6%, 0%, 33.3%) |
| CIE-LAB | lab(49.09, -7.36, -31.74) |
| CIE-LCH | lch(49.09, 32.58, 256.94°) |
| OKLab | oklab(55.76% -0.0522 -0.0896) |
| OKLCH | oklch(55.76% 0.104 239.8) |
| XYZ | xyz(15.5081, 17.6708, 40.6159) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.65
Cerulean
#007BA7
ΔE00 3.38
Steel Blue
#4682B4
ΔE00 4.07
Stormy Blue
#507B9C
ΔE00 4.25
Bluish
#2976BB
ΔE00 4.38
Dull Blue
#49759C
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7BAA #AA5E2F
analogous
#2FAA9C #2F7BAA #2F3DAA
triadic
#2F7BAA #AA2F7B #7BAA2F
tetradic
#2F7BAA #9C2FAA #AA5E2F #3DAA2F
square
#2F7BAA #9C2FAA #AA5E2F #3DAA2F
split-complementary
#2F7BAA #AA2F3D #AA9C2F
monochromatic
#14364A #22587A #2F7BAA #499BCD #79B5DA
Accessibility & contrast
On white
4.63
#2F7BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#2F7BAA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7BAA
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7BAA | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f7baa; /* rgb */ color: rgb(47, 123, 170); /* oklch */ color: oklch(55.8% 0.104 239.8);
Tailwind
colors: {
custom: {
50: '#77a1c3',
500: '#2f7baa',
950: '#000000',
},
}SCSS
$custom: #2f7baa; $custom-light: #77a1c3; $custom-dark: #000000;
JSON
{
"hex": "#2f7baa",
"rgb": {
"r": 47,
"g": 123,
"b": 170
},
"hsl": {
"h": 202.927,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.55757,
"c": 0.10367,
"h": 239.8
},
"luminance": 0.17673
}Semantic roles & 50–950 ramp
primary
#2F7BAA
secondary
#C29172
accent
#8248E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81