#2F3A93#2F3A93
#2F3A93 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.146 H 272.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A93 |
|---|---|
| RGB | rgb(47, 58, 147) |
| HSL | hsl(233, 52%, 38%) |
| HSV | hsv(233, 68%, 58%) |
| CMYK | cmyk(68%, 60.5%, 0%, 42.4%) |
| CIE-LAB | lab(28.74, 25.83, -50.48) |
| CIE-LCH | lch(28.74, 56.71, 297.10°) |
| OKLab | oklab(39.58% 0.0064 -0.1454) |
| OKLCH | oklch(39.58% 0.146 272.5) |
| XYZ | xyz(7.9500, 5.7363, 28.2864) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Blueberry
#464196
ΔE00 3.86
Darkslateblue
#483D8B
ΔE00 4.75
Cobalt
#0047AB
ΔE00 6.55
Cobalt (survey)
#1E488F
ΔE00 6.59
Ocean Blue
#4F42B5
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A93 #93882F
analogous
#2F6C93 #2F3A93 #562F93
triadic
#2F3A93 #932F3A #3A932F
tetradic
#2F3A93 #932F6C #93882F #2F9356
square
#2F3A93 #932F6C #93882F #2F9356
split-complementary
#2F3A93 #93562F #6C932F
monochromatic
#111536 #202865 #2F3A93 #3E4CC1 #6C77D0
Accessibility & contrast
On white
9.78
#2F3A93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2F3A93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A93
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A93 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3a93; /* rgb */ color: rgb(47, 58, 147); /* oklch */ color: oklch(39.6% 0.146 272.5);
Tailwind
colors: {
custom: {
50: '#7470b3',
500: '#2f3a93',
950: '#000000',
},
}SCSS
$custom: #2f3a93; $custom-light: #7470b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3a93",
"rgb": {
"r": 47,
"g": 58,
"b": 147
},
"hsl": {
"h": 233.4,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.39584,
"c": 0.14557,
"h": 272.5
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#2F3A93
secondary
#B7AE66
accent
#CB4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80