#2F3F93#2F3F93
#2F3F93 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.139 H 270.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F93 |
|---|---|
| RGB | rgb(47, 63, 147) |
| HSL | hsl(230, 52%, 38%) |
| HSV | hsv(230, 68%, 58%) |
| CMYK | cmyk(68%, 57.1%, 0%, 42.4%) |
| CIE-LAB | lab(30.07, 22.48, -48.31) |
| CIE-LCH | lch(30.07, 53.29, 294.95°) |
| OKLab | oklab(40.58% 0.0019 -0.139) |
| OKLCH | oklch(40.58% 0.139 270.8) |
| XYZ | xyz(8.2145, 6.2652, 28.3745) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.39
Darkish Blue
#014182
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F93 #93832F
analogous
#2F7193 #2F3F93 #512F93
triadic
#2F3F93 #932F3F #3F932F
tetradic
#2F3F93 #932F71 #93832F #2F9351
square
#2F3F93 #932F71 #93832F #2F9351
split-complementary
#2F3F93 #93512F #71932F
monochromatic
#111736 #202B65 #2F3F93 #3E53C1 #6C7CD0
Accessibility & contrast
On white
9.32
#2F3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F3F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F93
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F93 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3f93; /* rgb */ color: rgb(47, 63, 147); /* oklch */ color: oklch(40.6% 0.139 270.8);
Tailwind
colors: {
custom: {
50: '#7473b3',
500: '#2f3f93',
950: '#000000',
},
}SCSS
$custom: #2f3f93; $custom-light: #7473b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3f93",
"rgb": {
"r": 47,
"g": 63,
"b": 147
},
"hsl": {
"h": 230.4,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.40578,
"c": 0.139,
"h": 270.8
},
"luminance": 0.06266
}Semantic roles & 50–950 ramp
primary
#2F3F93
secondary
#B7AA66
accent
#C44DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80