#2F3F92#2F3F92
#2F3F92 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.138 H 270.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F92 |
|---|---|
| RGB | rgb(47, 63, 146) |
| HSL | hsl(230, 51%, 38%) |
| HSV | hsv(230, 68%, 57%) |
| CMYK | cmyk(67.8%, 56.8%, 0%, 42.7%) |
| CIE-LAB | lab(30.00, 22.11, -47.83) |
| CIE-LCH | lch(30.00, 52.69, 294.81°) |
| OKLab | oklab(40.5% 0.0019 -0.1375) |
| OKLCH | oklch(40.5% 0.138 270.8) |
| XYZ | xyz(8.1363, 6.2339, 27.9630) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.46
Darkish Blue
#014182
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F92 #92822F
analogous
#2F7092 #2F3F92 #502F92
triadic
#2F3F92 #922F3F #3F922F
tetradic
#2F3F92 #922F70 #92822F #2F9250
square
#2F3F92 #922F70 #92822F #2F9250
split-complementary
#2F3F92 #92502F #70922F
monochromatic
#111735 #202B64 #2F3F92 #3E53C0 #6C7CD0
Accessibility & contrast
On white
9.35
#2F3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F3F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F92
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F92 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3f92; /* rgb */ color: rgb(47, 63, 146); /* oklch */ color: oklch(40.5% 0.138 270.8);
Tailwind
colors: {
custom: {
50: '#7473b3',
500: '#2f3f92',
950: '#000000',
},
}SCSS
$custom: #2f3f92; $custom-light: #7473b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3f92",
"rgb": {
"r": 47,
"g": 63,
"b": 146
},
"hsl": {
"h": 230.303,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.40497,
"c": 0.13756,
"h": 270.8
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#2F3F92
secondary
#B7AA66
accent
#C44DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80