#2F4093#2F4093
#2F4093 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.138 H 270.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4093 |
|---|---|
| RGB | rgb(47, 64, 147) |
| HSL | hsl(230, 52%, 38%) |
| HSV | hsv(230, 68%, 58%) |
| CMYK | cmyk(68%, 56.5%, 0%, 42.4%) |
| CIE-LAB | lab(30.34, 21.80, -47.87) |
| CIE-LCH | lch(30.34, 52.60, 294.49°) |
| OKLab | oklab(40.78% 0.001 -0.1377) |
| OKLCH | oklch(40.78% 0.138 270.4) |
| XYZ | xyz(8.2704, 6.3769, 28.3931) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 4.72
Cobalt
#0047AB
ΔE00 5.18
Darkslateblue
#483D8B
ΔE00 5.38
Darkish Blue
#014182
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4093 #93822F
analogous
#2F7293 #2F4093 #502F93
triadic
#2F4093 #932F40 #40932F
tetradic
#2F4093 #932F72 #93822F #2F9350
square
#2F4093 #932F72 #93822F #2F9350
split-complementary
#2F4093 #93502F #72932F
monochromatic
#111836 #202C65 #2F4093 #3E54C1 #6C7DD0
Accessibility & contrast
On white
9.23
#2F4093 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F4093 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4093
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4093 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4093 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f4093; /* rgb */ color: rgb(47, 64, 147); /* oklch */ color: oklch(40.8% 0.138 270.4);
Tailwind
colors: {
custom: {
50: '#7474b3',
500: '#2f4093',
950: '#000000',
},
}SCSS
$custom: #2f4093; $custom-light: #7474b3; $custom-dark: #000000;
JSON
{
"hex": "#2f4093",
"rgb": {
"r": 47,
"g": 64,
"b": 147
},
"hsl": {
"h": 229.8,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.40783,
"c": 0.13768,
"h": 270.4
},
"luminance": 0.06378
}Semantic roles & 50–950 ramp
primary
#2F4093
secondary
#B7AA66
accent
#C34DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80