#2F4783#2F4783
#2F4783 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.105 H 265.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4783 |
|---|---|
| RGB | rgb(47, 71, 131) |
| HSL | hsl(223, 47%, 35%) |
| HSV | hsv(223, 64%, 51%) |
| CMYK | cmyk(64.1%, 45.8%, 0%, 48.6%) |
| CIE-LAB | lab(31.23, 11.09, -36.59) |
| CIE-LCH | lch(31.23, 38.24, 286.86°) |
| OKLab | oklab(41.1% -0.008 -0.1044) |
| OKLCH | oklch(41.1% 0.105 265.6) |
| XYZ | xyz(7.5209, 6.7488, 22.3746) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.90
Darkish Blue
#014182
ΔE00 4.51
Twilight Blue
#0A437A
ΔE00 4.85
Dusk Blue
#26538D
ΔE00 5.28
Cobalt
#0047AB
ΔE00 6.01
Prussian Blue
#004577
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4783 #836B2F
analogous
#2F7183 #2F4783 #412F83
triadic
#2F4783 #832F47 #47832F
tetradic
#2F4783 #832F71 #836B2F #2F8341
square
#2F4783 #832F71 #836B2F #2F8341
split-complementary
#2F4783 #83412F #71832F
monochromatic
#0F1629 #1F2F56 #2F4783 #3F5FB0 #6581C8
Accessibility & contrast
On white
8.94
#2F4783 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2F4783 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4783
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4783 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4E85
Deuteranopia (green-blind)
#1E4682
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4783; /* rgb */ color: rgb(47, 71, 131); /* oklch */ color: oklch(41.1% 0.105 265.6);
Tailwind
colors: {
custom: {
50: '#7079a7',
500: '#2f4783',
950: '#000000',
},
}SCSS
$custom: #2f4783; $custom-light: #7079a7; $custom-dark: #000000;
JSON
{
"hex": "#2f4783",
"rgb": {
"r": 47,
"g": 71,
"b": 131
},
"hsl": {
"h": 222.857,
"s": 47.191,
"l": 34.902
},
"oklch": {
"l": 0.41098,
"c": 0.10472,
"h": 265.6
},
"luminance": 0.0675
}Semantic roles & 50–950 ramp
primary
#2F4783
secondary
#AF985F
accent
#B151D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F