#2F4283#2F4283
#2F4283 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.111 H 268.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4283 |
|---|---|
| RGB | rgb(47, 66, 131) |
| HSL | hsl(226, 47%, 35%) |
| HSV | hsv(226, 64%, 51%) |
| CMYK | cmyk(64.1%, 49.6%, 0%, 48.6%) |
| CIE-LAB | lab(29.76, 14.47, -38.95) |
| CIE-LCH | lch(29.76, 41.55, 290.39°) |
| OKLab | oklab(39.98% -0.0025 -0.1114) |
| OKLCH | oklch(39.98% 0.111 268.7) |
| XYZ | xyz(7.2159, 6.1388, 22.2730) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.01
Darkish Blue
#014182
ΔE00 5.06
Blueberry
#464196
ΔE00 5.70
Twilight Blue
#0A437A
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 6.31
Cobalt
#0047AB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4283 #83702F
analogous
#2F6C83 #2F4283 #462F83
triadic
#2F4283 #832F42 #42832F
tetradic
#2F4283 #832F6C #83702F #2F8346
square
#2F4283 #832F6C #83702F #2F8346
split-complementary
#2F4283 #83462F #6C832F
monochromatic
#0F1529 #1F2B56 #2F4283 #3F59B0 #657BC8
Accessibility & contrast
On white
9.43
#2F4283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F4283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4283
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4283 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#114382
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f4283; /* rgb */ color: rgb(47, 66, 131); /* oklch */ color: oklch(40.0% 0.111 268.7);
Tailwind
colors: {
custom: {
50: '#7076a7',
500: '#2f4283',
950: '#000000',
},
}SCSS
$custom: #2f4283; $custom-light: #7076a7; $custom-dark: #000000;
JSON
{
"hex": "#2f4283",
"rgb": {
"r": 47,
"g": 66,
"b": 131
},
"hsl": {
"h": 226.429,
"s": 47.191,
"l": 34.902
},
"oklch": {
"l": 0.39975,
"c": 0.11142,
"h": 268.7
},
"luminance": 0.06139
}Semantic roles & 50–950 ramp
primary
#2F4283
secondary
#AF9D5F
accent
#B951D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F