#2F4290#2F4290
#2F4290 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.131 H 269.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4290 |
|---|---|
| RGB | rgb(47, 66, 144) |
| HSL | hsl(228, 51%, 37%) |
| HSV | hsv(228, 67%, 56%) |
| CMYK | cmyk(67.4%, 54.2%, 0%, 43.5%) |
| CIE-LAB | lab(30.67, 19.33, -45.50) |
| CIE-LCH | lch(30.67, 49.44, 293.02°) |
| OKLab | oklab(40.96% -0.0011 -0.1307) |
| OKLCH | oklch(40.96% 0.131 269.5) |
| XYZ | xyz(8.1528, 6.5136, 27.2078) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.98
Blueberry
#464196
ΔE00 4.51
Cobalt
#0047AB
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 5.46
Darkish Blue
#014182
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4290 #907D2F
analogous
#2F7390 #2F4290 #4C2F90
triadic
#2F4290 #902F42 #42902F
tetradic
#2F4290 #902F73 #907D2F #2F904C
square
#2F4290 #902F73 #907D2F #2F904C
split-complementary
#2F4290 #904C2F #73902F
monochromatic
#111834 #202D62 #2F4290 #3E57BE #6B7ECF
Accessibility & contrast
On white
9.12
#2F4290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F4290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4290
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4290 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4D93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4290; /* rgb */ color: rgb(47, 66, 144); /* oklch */ color: oklch(41.0% 0.131 269.5);
Tailwind
colors: {
custom: {
50: '#7376b1',
500: '#2f4290',
950: '#000000',
},
}SCSS
$custom: #2f4290; $custom-light: #7376b1; $custom-dark: #000000;
JSON
{
"hex": "#2f4290",
"rgb": {
"r": 47,
"g": 66,
"b": 144
},
"hsl": {
"h": 228.247,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.40959,
"c": 0.13068,
"h": 269.5
},
"luminance": 0.06514
}Semantic roles & 50–950 ramp
primary
#2F4290
secondary
#B6A665
accent
#BF4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80