#2F74B9#2F74B9
#2F74B9 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 54.9% C 0.128 H 251.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F74B9 |
|---|---|
| RGB | rgb(47, 116, 185) |
| HSL | hsl(210, 59%, 45%) |
| HSV | hsv(210, 75%, 73%) |
| CMYK | cmyk(74.6%, 37.3%, 0%, 27.5%) |
| CIE-LAB | lab(47.75, 2.29, -42.56) |
| CIE-LCH | lch(47.75, 42.62, 273.08°) |
| OKLab | oklab(54.94% -0.0409 -0.1212) |
| OKLCH | oklch(54.94% 0.128 251.3) |
| XYZ | xyz(16.1713, 16.5961, 48.2406) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.09
Windows Blue
#3778BF
ΔE00 1.79
Medium Blue
#2C6FBB
ΔE00 1.97
Flat Blue
#3C73A8
ΔE00 1.97
Muted Blue
#3B719F
ΔE00 3.30
Mid Blue
#276AB3
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F74B9 #B9742F
analogous
#2FB9B9 #2F74B9 #2F2FB9
triadic
#2F74B9 #B92F74 #74B92F
tetradic
#2F74B9 #B92FB9 #B9742F #2FB92F
square
#2F74B9 #B92FB9 #B9742F #2FB92F
split-complementary
#2F74B9 #B92F2F #B9B92F
monochromatic
#163757 #235588 #2F74B9 #5293D3 #83B1DF
Accessibility & contrast
On white
4.86
#2F74B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#2F74B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F74B9
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F74B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F74B9 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5478BC
Deuteranopia (green-blind)
#3F6BB8
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2f74b9; /* rgb */ color: rgb(47, 116, 185); /* oklch */ color: oklch(54.9% 0.128 251.3);
Tailwind
colors: {
custom: {
50: '#7a9bce',
500: '#2f74b9',
950: '#000000',
},
}SCSS
$custom: #2f74b9; $custom-light: #7a9bce; $custom-dark: #000000;
JSON
{
"hex": "#2f74b9",
"rgb": {
"r": 47,
"g": 116,
"b": 185
},
"hsl": {
"h": 210,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.54942,
"c": 0.12794,
"h": 251.3
},
"luminance": 0.16598
}Semantic roles & 50–950 ramp
primary
#2F74B9
secondary
#C9A27B
accent
#9445E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82