#2F3F90#2F3F90
#2F3F90 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.135 H 270.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F90 |
|---|---|
| RGB | rgb(47, 63, 144) |
| HSL | hsl(230, 51%, 37%) |
| HSV | hsv(230, 67%, 56%) |
| CMYK | cmyk(67.4%, 56.3%, 0%, 43.5%) |
| CIE-LAB | lab(29.84, 21.36, -46.84) |
| CIE-LCH | lch(29.84, 51.49, 294.51°) |
| OKLab | oklab(40.33% 0.0018 -0.1347) |
| OKLCH | oklch(40.33% 0.135 270.7) |
| XYZ | xyz(7.9821, 6.1722, 27.1509) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.07
Sapphire (survey)
#2138AB
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.61
Darkish Blue
#014182
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F90 #90802F
analogous
#2F7090 #2F3F90 #4F2F90
triadic
#2F3F90 #902F3F #3F902F
tetradic
#2F3F90 #902F70 #90802F #2F904F
square
#2F3F90 #902F70 #90802F #2F904F
split-complementary
#2F3F90 #904F2F #70902F
monochromatic
#111734 #202B62 #2F3F90 #3E53BE #6B7BCF
Accessibility & contrast
On white
9.40
#2F3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F3F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F90
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F90 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3f90; /* rgb */ color: rgb(47, 63, 144); /* oklch */ color: oklch(40.3% 0.135 270.7);
Tailwind
colors: {
custom: {
50: '#7373b1',
500: '#2f3f90',
950: '#000000',
},
}SCSS
$custom: #2f3f90; $custom-light: #7373b1; $custom-dark: #000000;
JSON
{
"hex": "#2f3f90",
"rgb": {
"r": 47,
"g": 63,
"b": 144
},
"hsl": {
"h": 230.103,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.40334,
"c": 0.13468,
"h": 270.7
},
"luminance": 0.06173
}Semantic roles & 50–950 ramp
primary
#2F3F90
secondary
#B6A865
accent
#C34EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80