#2F74B8#2F74B8
#2F74B8 is a mid, vivid cyan. Relative luminance 0.166; OKLCH L 54.9% C 0.127 H 251.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F74B8 |
|---|---|
| RGB | rgb(47, 116, 184) |
| HSL | hsl(210, 59%, 45%) |
| HSV | hsv(210, 74%, 72%) |
| CMYK | cmyk(74.5%, 37%, 0%, 27.8%) |
| CIE-LAB | lab(47.69, 1.92, -42.07) |
| CIE-LCH | lch(47.69, 42.11, 272.61°) |
| OKLab | oklab(54.88% -0.0412 -0.1198) |
| OKLCH | oklch(54.88% 0.127 251) |
| XYZ | xyz(16.0662, 16.5540, 47.6866) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.04
Windows Blue
#3778BF
ΔE00 1.87
Flat Blue
#3C73A8
ΔE00 1.89
Medium Blue
#2C6FBB
ΔE00 2.02
Muted Blue
#3B719F
ΔE00 3.20
Mid Blue
#276AB3
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F74B8 #B8732F
analogous
#2FB8B7 #2F74B8 #2F30B8
triadic
#2F74B8 #B82F74 #74B82F
tetradic
#2F74B8 #B72FB8 #B8732F #30B82F
square
#2F74B8 #B72FB8 #B8732F #30B82F
split-complementary
#2F74B8 #B82F30 #B8B72F
monochromatic
#163757 #235587 #2F74B8 #5293D3 #82B1DF
Accessibility & contrast
On white
4.87
#2F74B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#2F74B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F74B8
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F74B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F74B8 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5578BB
Deuteranopia (green-blind)
#406BB7
Tritanopia (blue-blind)
#00848D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2f74b8; /* rgb */ color: rgb(47, 116, 184); /* oklch */ color: oklch(54.9% 0.127 251.0);
Tailwind
colors: {
custom: {
50: '#7a9bcd',
500: '#2f74b8',
950: '#000000',
},
}SCSS
$custom: #2f74b8; $custom-light: #7a9bcd; $custom-dark: #000000;
JSON
{
"hex": "#2f74b8",
"rgb": {
"r": 47,
"g": 116,
"b": 184
},
"hsl": {
"h": 209.781,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.54882,
"c": 0.12666,
"h": 251
},
"luminance": 0.16556
}Semantic roles & 50–950 ramp
primary
#2F74B8
secondary
#C8A17B
accent
#9345E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82