#2F7BAC#2F7BAC
#2F7BAC is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.9% C 0.106 H 240.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7BAC |
|---|---|
| RGB | rgb(47, 123, 172) |
| HSL | hsl(204, 57%, 43%) |
| HSV | hsv(204, 73%, 67%) |
| CMYK | cmyk(72.7%, 28.5%, 0%, 32.5%) |
| CIE-LAB | lab(49.19, -6.65, -32.76) |
| CIE-LCH | lch(49.19, 33.42, 258.53°) |
| OKLab | oklab(55.86% -0.0515 -0.0925) |
| OKLCH | oklch(55.86% 0.106 240.9) |
| XYZ | xyz(15.6988, 17.7470, 41.6199) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.66
Steel Blue
#4682B4
ΔE00 3.80
Cerulean
#007BA7
ΔE00 3.84
Bluish
#2976BB
ΔE00 3.92
Stormy Blue
#507B9C
ΔE00 4.33
Flat Blue
#3C73A8
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7BAC #AC602F
analogous
#2FAC9E #2F7BAC #2F3CAC
triadic
#2F7BAC #AC2F7B #7BAC2F
tetradic
#2F7BAC #9E2FAC #AC602F #3CAC2F
square
#2F7BAC #9E2FAC #AC602F #3CAC2F
split-complementary
#2F7BAC #AC2F3C #AC9E2F
monochromatic
#15364C #22597C #2F7BAC #4B9ACE #7BB5DB
Accessibility & contrast
On white
4.62
#2F7BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2F7BAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7BAC
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7BAC | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647CAE
Deuteranopia (green-blind)
#5370AB
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f7bac; /* rgb */ color: rgb(47, 123, 172); /* oklch */ color: oklch(55.9% 0.106 240.9);
Tailwind
colors: {
custom: {
50: '#78a1c5',
500: '#2f7bac',
950: '#000000',
},
}SCSS
$custom: #2f7bac; $custom-light: #78a1c5; $custom-dark: #000000;
JSON
{
"hex": "#2f7bac",
"rgb": {
"r": 47,
"g": 123,
"b": 172
},
"hsl": {
"h": 203.52,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.55861,
"c": 0.1059,
"h": 240.9
},
"luminance": 0.17749
}Semantic roles & 50–950 ramp
primary
#2F7BAC
secondary
#C39374
accent
#8347E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82