#2F3D99#2F3D99
#2F3D99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.150 H 271.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D99 |
|---|---|
| RGB | rgb(47, 61, 153) |
| HSL | hsl(232, 53%, 39%) |
| HSV | hsv(232, 69%, 60%) |
| CMYK | cmyk(69.3%, 60.1%, 0%, 40%) |
| CIE-LAB | lab(30.01, 26.04, -52.07) |
| CIE-LCH | lch(30.01, 58.22, 296.57°) |
| OKLab | oklab(40.68% 0.0038 -0.1501) |
| OKLCH | oklch(40.68% 0.15 271.4) |
| XYZ | xyz(8.5889, 6.2409, 30.8828) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 3.77
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.54
Cobalt (survey)
#1E488F
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D99 #998B2F
analogous
#2F7299 #2F3D99 #562F99
triadic
#2F3D99 #992F3D #3D992F
tetradic
#2F3D99 #992F72 #998B2F #2F9956
square
#2F3D99 #992F72 #998B2F #2F9956
split-complementary
#2F3D99 #99562F #72992F
monochromatic
#12183B #212A6A #2F3D99 #4152C5 #6F7DD3
Accessibility & contrast
On white
9.34
#2F3D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F3D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D99
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D99 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3d99; /* rgb */ color: rgb(47, 61, 153); /* oklch */ color: oklch(40.7% 0.150 271.4);
Tailwind
colors: {
custom: {
50: '#7572b8',
500: '#2f3d99',
950: '#000000',
},
}SCSS
$custom: #2f3d99; $custom-light: #7572b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3d99",
"rgb": {
"r": 47,
"g": 61,
"b": 153
},
"hsl": {
"h": 232.075,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.40683,
"c": 0.15012,
"h": 271.4
},
"luminance": 0.06242
}Semantic roles & 50–950 ramp
primary
#2F3D99
secondary
#BAB069
accent
#C94BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80