#2F4FAE#2F4FAE
#2F4FAE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.156 H 266.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FAE |
|---|---|
| RGB | rgb(47, 79, 174) |
| HSL | hsl(225, 57%, 43%) |
| HSV | hsv(225, 73%, 68%) |
| CMYK | cmyk(73%, 54.6%, 0%, 31.8%) |
| CIE-LAB | lab(36.46, 21.92, -54.22) |
| CIE-LCH | lch(36.46, 58.48, 292.01°) |
| OKLab | oklab(46.03% -0.0103 -0.1561) |
| OKLCH | oklch(46.03% 0.156 266.2) |
| XYZ | xyz(11.6056, 9.2511, 41.2102) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.44
Cobalt (survey)
#1E488F
ΔE00 5.15
Blue Blue
#2242C7
ΔE00 5.48
Dusk Blue
#26538D
ΔE00 5.70
Denim Blue
#3B5B92
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FAE #AE8E2F
analogous
#2F8EAE #2F4FAE #4E2FAE
triadic
#2F4FAE #AE2F4F #4FAE2F
tetradic
#2F4FAE #AE2F8E #AE8E2F #2FAE4E
square
#2F4FAE #AE2F8E #AE8E2F #2FAE4E
split-complementary
#2F4FAE #AE4E2F #8EAE2F
monochromatic
#15234E #22397E #2F4FAE #4C6DCF #7C94DC
Accessibility & contrast
On white
7.37
#2F4FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F4FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4FAE
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FAE | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4fae; /* rgb */ color: rgb(47, 79, 174); /* oklch */ color: oklch(46.0% 0.156 266.2);
Tailwind
colors: {
custom: {
50: '#797fc7',
500: '#2f4fae',
950: '#000000',
},
}SCSS
$custom: #2f4fae; $custom-light: #797fc7; $custom-dark: #000000;
JSON
{
"hex": "#2f4fae",
"rgb": {
"r": 47,
"g": 79,
"b": 174
},
"hsl": {
"h": 224.882,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.46027,
"c": 0.15646,
"h": 266.2
},
"luminance": 0.09252
}Semantic roles & 50–950 ramp
primary
#2F4FAE
secondary
#C4B075
accent
#BA47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82