#2F3E90#2F3E90
#2F3E90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.136 H 271.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E90 |
|---|---|
| RGB | rgb(47, 62, 144) |
| HSL | hsl(231, 51%, 37%) |
| HSV | hsv(231, 67%, 56%) |
| CMYK | cmyk(67.4%, 56.9%, 0%, 43.5%) |
| CIE-LAB | lab(29.57, 22.04, -47.29) |
| CIE-LCH | lch(29.57, 52.17, 294.99°) |
| OKLab | oklab(40.13% 0.0027 -0.136) |
| OKLCH | oklch(40.13% 0.136 271.1) |
| XYZ | xyz(7.9273, 6.0625, 27.1326) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.67
Darkslateblue
#483D8B
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.81
Darkish Blue
#014182
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E90 #90812F
analogous
#2F6E90 #2F3E90 #512F90
triadic
#2F3E90 #902F3E #3E902F
tetradic
#2F3E90 #902F6E #90812F #2F9051
square
#2F3E90 #902F6E #90812F #2F9051
split-complementary
#2F3E90 #90512F #6E902F
monochromatic
#111634 #202A62 #2F3E90 #3E52BE #6B7ACF
Accessibility & contrast
On white
9.49
#2F3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2F3E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E90
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E90 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3e90; /* rgb */ color: rgb(47, 62, 144); /* oklch */ color: oklch(40.1% 0.136 271.1);
Tailwind
colors: {
custom: {
50: '#7373b1',
500: '#2f3e90',
950: '#000000',
},
}SCSS
$custom: #2f3e90; $custom-light: #7373b1; $custom-dark: #000000;
JSON
{
"hex": "#2f3e90",
"rgb": {
"r": 47,
"g": 62,
"b": 144
},
"hsl": {
"h": 230.722,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.40129,
"c": 0.13602,
"h": 271.1
},
"luminance": 0.06063
}Semantic roles & 50–950 ramp
primary
#2F3E90
secondary
#B6A965
accent
#C54EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80