#2F4EAF#2F4EAF
#2F4EAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.159 H 266.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EAF |
|---|---|
| RGB | rgb(47, 78, 175) |
| HSL | hsl(225, 58%, 44%) |
| HSV | hsv(225, 73%, 69%) |
| CMYK | cmyk(73.1%, 55.4%, 0%, 31.4%) |
| CIE-LAB | lab(36.27, 22.96, -55.13) |
| CIE-LCH | lch(36.27, 59.72, 292.61°) |
| OKLab | oklab(45.9% -0.0094 -0.1588) |
| OKLCH | oklch(45.9% 0.159 266.6) |
| XYZ | xyz(11.6318, 9.1470, 41.7017) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.09
Cobalt
#0047AB
ΔE00 3.37
Blue Blue
#2242C7
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 5.27
Dusk Blue
#26538D
ΔE00 6.02
Denim Blue
#3B5B92
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EAF #AF902F
analogous
#2F8EAF #2F4EAF #502FAF
triadic
#2F4EAF #AF2F4E #4EAF2F
tetradic
#2F4EAF #AF2F8E #AF902F #2FAF50
square
#2F4EAF #AF2F8E #AF902F #2FAF50
split-complementary
#2F4EAF #AF502F #8EAF2F
monochromatic
#15234F #22387F #2F4EAF #4C6CCF #7C94DC
Accessibility & contrast
On white
7.42
#2F4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2F4EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EAF
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EAF | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4eaf; /* rgb */ color: rgb(47, 78, 175); /* oklch */ color: oklch(45.9% 0.159 266.6);
Tailwind
colors: {
custom: {
50: '#797fc8',
500: '#2f4eaf',
950: '#000000',
},
}SCSS
$custom: #2f4eaf; $custom-light: #797fc8; $custom-dark: #000000;
JSON
{
"hex": "#2f4eaf",
"rgb": {
"r": 47,
"g": 78,
"b": 175
},
"hsl": {
"h": 225.469,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.45902,
"c": 0.1591,
"h": 266.6
},
"luminance": 0.09148
}Semantic roles & 50–950 ramp
primary
#2F4EAF
secondary
#C4B175
accent
#BC47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82