#2F4293#2F4293
#2F4293 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.135 H 269.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4293 |
|---|---|
| RGB | rgb(47, 66, 147) |
| HSL | hsl(229, 52%, 38%) |
| HSV | hsv(229, 68%, 58%) |
| CMYK | cmyk(68%, 55.1%, 0%, 42.4%) |
| CIE-LAB | lab(30.89, 20.46, -46.98) |
| CIE-LCH | lch(30.89, 51.24, 293.53°) |
| OKLab | oklab(41.2% -0.0009 -0.135) |
| OKLCH | oklch(41.2% 0.135 269.6) |
| XYZ | xyz(8.3852, 6.6066, 28.4314) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.12
Blueberry
#464196
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.80
Sapphire (survey)
#2138AB
ΔE00 5.05
Darkslateblue
#483D8B
ΔE00 5.76
Darkish Blue
#014182
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4293 #93802F
analogous
#2F7493 #2F4293 #4E2F93
triadic
#2F4293 #932F42 #42932F
tetradic
#2F4293 #932F74 #93802F #2F934E
square
#2F4293 #932F74 #93802F #2F934E
split-complementary
#2F4293 #934E2F #74932F
monochromatic
#111836 #202D65 #2F4293 #3E57C1 #6C7FD0
Accessibility & contrast
On white
9.05
#2F4293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F4293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4293
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4293 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#064D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4293; /* rgb */ color: rgb(47, 66, 147); /* oklch */ color: oklch(41.2% 0.135 269.6);
Tailwind
colors: {
custom: {
50: '#7476b3',
500: '#2f4293',
950: '#000000',
},
}SCSS
$custom: #2f4293; $custom-light: #7476b3; $custom-dark: #000000;
JSON
{
"hex": "#2f4293",
"rgb": {
"r": 47,
"g": 66,
"b": 147
},
"hsl": {
"h": 228.6,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.41196,
"c": 0.13503,
"h": 269.6
},
"luminance": 0.06607
}Semantic roles & 50–950 ramp
primary
#2F4293
secondary
#B7A866
accent
#C04DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80