#2F4899#2F4899
#2F4899 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.136 H 267.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4899 |
|---|---|
| RGB | rgb(47, 72, 153) |
| HSL | hsl(226, 53%, 39%) |
| HSV | hsv(226, 69%, 60%) |
| CMYK | cmyk(69.3%, 52.9%, 0%, 40%) |
| CIE-LAB | lab(33.00, 18.67, -47.23) |
| CIE-LCH | lch(33.00, 50.78, 291.57°) |
| OKLab | oklab(42.93% -0.006 -0.1357) |
| OKLCH | oklch(42.93% 0.136 267.5) |
| XYZ | xyz(9.2374, 7.5381, 31.0990) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.08
Cobalt
#0047AB
ΔE00 3.59
Blueberry
#464196
ΔE00 5.48
Dusk Blue
#26538D
ΔE00 5.62
Sapphire
#0F52BA
ΔE00 5.75
Darkish Blue
#014182
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4899 #99802F
analogous
#2F7D99 #2F4899 #4B2F99
triadic
#2F4899 #992F48 #48992F
tetradic
#2F4899 #992F7D #99802F #2F994B
square
#2F4899 #992F7D #99802F #2F994B
split-complementary
#2F4899 #994B2F #7D992F
monochromatic
#121C3B #21326A #2F4899 #4160C5 #6F87D3
Accessibility & contrast
On white
8.37
#2F4899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2F4899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4899
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4899 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15539C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f4899; /* rgb */ color: rgb(47, 72, 153); /* oklch */ color: oklch(42.9% 0.136 267.5);
Tailwind
colors: {
custom: {
50: '#757ab8',
500: '#2f4899',
950: '#000000',
},
}SCSS
$custom: #2f4899; $custom-light: #757ab8; $custom-dark: #000000;
JSON
{
"hex": "#2f4899",
"rgb": {
"r": 47,
"g": 72,
"b": 153
},
"hsl": {
"h": 225.849,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.42926,
"c": 0.13579,
"h": 267.5
},
"luminance": 0.07539
}Semantic roles & 50–950 ramp
primary
#2F4899
secondary
#BAA769
accent
#BA4BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80