#2F4EA9#2F4EA9
#2F4EA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.151 H 266.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EA9 |
|---|---|
| RGB | rgb(47, 78, 169) |
| HSL | hsl(225, 56%, 42%) |
| HSV | hsv(225, 72%, 66%) |
| CMYK | cmyk(72.2%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(35.82, 20.70, -52.28) |
| CIE-LCH | lch(35.82, 56.23, 291.60°) |
| OKLab | oklab(45.43% -0.0098 -0.1504) |
| OKLCH | oklch(45.43% 0.151 266.3) |
| XYZ | xyz(11.0556, 8.9165, 38.6668) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.19
Sapphire
#0F52BA
ΔE00 3.31
Cobalt (survey)
#1E488F
ΔE00 4.51
Dusk Blue
#26538D
ΔE00 5.35
Denim Blue
#3B5B92
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EA9 #A98A2F
analogous
#2F8BA9 #2F4EA9 #4D2FA9
triadic
#2F4EA9 #A92F4E #4EA92F
tetradic
#2F4EA9 #A92F8B #A98A2F #2FA94D
square
#2F4EA9 #A92F8B #A98A2F #2FA94D
split-complementary
#2F4EA9 #A94D2F #8BA92F
monochromatic
#142249 #223879 #2F4EA9 #496ACC #7991DA
Accessibility & contrast
On white
7.54
#2F4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2F4EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EA9
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EA9 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B5AAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f4ea9; /* rgb */ color: rgb(47, 78, 169); /* oklch */ color: oklch(45.4% 0.151 266.3);
Tailwind
colors: {
custom: {
50: '#787fc3',
500: '#2f4ea9',
950: '#000000',
},
}SCSS
$custom: #2f4ea9; $custom-light: #787fc3; $custom-dark: #000000;
JSON
{
"hex": "#2f4ea9",
"rgb": {
"r": 47,
"g": 78,
"b": 169
},
"hsl": {
"h": 224.754,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.45428,
"c": 0.15076,
"h": 266.3
},
"luminance": 0.08918
}Semantic roles & 50–950 ramp
primary
#2F4EA9
secondary
#C2AE72
accent
#B948E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82