#2F4193#2F4193
#2F4193 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.136 H 270.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4193 |
|---|---|
| RGB | rgb(47, 65, 147) |
| HSL | hsl(229, 52%, 38%) |
| HSV | hsv(229, 68%, 58%) |
| CMYK | cmyk(68%, 55.8%, 0%, 42.4%) |
| CIE-LAB | lab(30.62, 21.13, -47.43) |
| CIE-LCH | lch(30.62, 51.92, 294.01°) |
| OKLab | oklab(40.99% 0.0001 -0.1364) |
| OKLCH | oklch(40.99% 0.136 270) |
| XYZ | xyz(8.3273, 6.4907, 28.4121) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.18
Cobalt (survey)
#1E488F
ΔE00 4.42
Sapphire (survey)
#2138AB
ΔE00 4.82
Cobalt
#0047AB
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.56
Darkish Blue
#014182
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4193 #93812F
analogous
#2F7393 #2F4193 #4F2F93
triadic
#2F4193 #932F41 #41932F
tetradic
#2F4193 #932F73 #93812F #2F934F
square
#2F4193 #932F73 #93812F #2F934F
split-complementary
#2F4193 #934F2F #73932F
monochromatic
#111836 #202C65 #2F4193 #3E56C1 #6C7ED0
Accessibility & contrast
On white
9.14
#2F4193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F4193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4193
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4193 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4193; /* rgb */ color: rgb(47, 65, 147); /* oklch */ color: oklch(41.0% 0.136 270.0);
Tailwind
colors: {
custom: {
50: '#7475b3',
500: '#2f4193',
950: '#000000',
},
}SCSS
$custom: #2f4193; $custom-light: #7475b3; $custom-dark: #000000;
JSON
{
"hex": "#2f4193",
"rgb": {
"r": 47,
"g": 65,
"b": 147
},
"hsl": {
"h": 229.2,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.40988,
"c": 0.13636,
"h": 270
},
"luminance": 0.06492
}Semantic roles & 50–950 ramp
primary
#2F4193
secondary
#B7A966
accent
#C14DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80