#2F3390#2F3390
#2F3390 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.150 H 274.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3390 |
|---|---|
| RGB | rgb(47, 51, 144) |
| HSL | hsl(238, 51%, 37%) |
| HSV | hsv(238, 67%, 56%) |
| CMYK | cmyk(67.4%, 64.6%, 0%, 43.5%) |
| CIE-LAB | lab(26.69, 29.37, -51.97) |
| CIE-LCH | lch(26.69, 59.70, 299.48°) |
| OKLab | oklab(38% 0.0124 -0.1499) |
| OKLCH | oklch(38% 0.15 274.7) |
| XYZ | xyz(7.3885, 4.9850, 26.9530) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.24
Blueberry
#464196
ΔE00 4.83
Darkslateblue
#483D8B
ΔE00 4.94
Royal
#0C1793
ΔE00 7.24
Ocean Blue
#4F42B5
ΔE00 7.70
Midnight Blue
#191970
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3390 #908C2F
analogous
#2F6390 #2F3390 #5C2F90
triadic
#2F3390 #902F33 #33902F
tetradic
#2F3390 #902F63 #908C2F #2F905C
square
#2F3390 #902F63 #908C2F #2F905C
split-complementary
#2F3390 #905C2F #63902F
monochromatic
#111234 #202362 #2F3390 #3E43BE #6B6FCF
Accessibility & contrast
On white
10.51
#2F3390 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F3390 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3390
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3390 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3390 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f3390; /* rgb */ color: rgb(47, 51, 144); /* oklch */ color: oklch(38.0% 0.150 274.7);
Tailwind
colors: {
custom: {
50: '#746bb1',
500: '#2f3390',
950: '#000000',
},
}SCSS
$custom: #2f3390; $custom-light: #746bb1; $custom-dark: #000000;
JSON
{
"hex": "#2f3390",
"rgb": {
"r": 47,
"g": 51,
"b": 144
},
"hsl": {
"h": 237.526,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.37996,
"c": 0.15038,
"h": 274.7
},
"luminance": 0.04986
}Semantic roles & 50–950 ramp
primary
#2F3390
secondary
#B6B265
accent
#D44EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80