#2F4A9A#2F4A9A
#2F4A9A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.135 H 266.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A9A |
|---|---|
| RGB | rgb(47, 74, 154) |
| HSL | hsl(225, 53%, 39%) |
| HSV | hsv(225, 69%, 60%) |
| CMYK | cmyk(69.5%, 51.9%, 0%, 39.6%) |
| CIE-LAB | lab(33.63, 17.70, -46.81) |
| CIE-LCH | lch(33.63, 50.05, 290.72°) |
| OKLab | oklab(43.43% -0.0077 -0.1344) |
| OKLCH | oklch(43.43% 0.135 266.7) |
| XYZ | xyz(9.4518, 7.8341, 31.5796) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.90
Cobalt
#0047AB
ΔE00 3.46
Dusk Blue
#26538D
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.24
Darkish Blue
#014182
ΔE00 5.85
Denim Blue
#3B5B92
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A9A #9A7F2F
analogous
#2F809A #2F4A9A #4A2F9A
triadic
#2F4A9A #9A2F4A #4A9A2F
tetradic
#2F4A9A #9A2F80 #9A7F2F #2F9A4A
square
#2F4A9A #9A2F80 #9A7F2F #2F9A4A
split-complementary
#2F4A9A #9A4A2F #809A2F
monochromatic
#121D3C #21336B #2F4A9A #4162C5 #7089D3
Accessibility & contrast
On white
8.18
#2F4A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2F4A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A9A
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A9A | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4a9a; /* rgb */ color: rgb(47, 74, 154); /* oklch */ color: oklch(43.4% 0.135 266.7);
Tailwind
colors: {
custom: {
50: '#757cb8',
500: '#2f4a9a',
950: '#000000',
},
}SCSS
$custom: #2f4a9a; $custom-light: #757cb8; $custom-dark: #000000;
JSON
{
"hex": "#2f4a9a",
"rgb": {
"r": 47,
"g": 74,
"b": 154
},
"hsl": {
"h": 224.86,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.43428,
"c": 0.13462,
"h": 266.7
},
"luminance": 0.07835
}Semantic roles & 50–950 ramp
primary
#2F4A9A
secondary
#BBA66A
accent
#B84BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090911
muted
#7B7B80