#2F4192#2F4192
#2F4192 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.135 H 270.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4192 |
|---|---|
| RGB | rgb(47, 65, 146) |
| HSL | hsl(229, 51%, 38%) |
| HSV | hsv(229, 68%, 57%) |
| CMYK | cmyk(67.8%, 55.5%, 0%, 42.7%) |
| CIE-LAB | lab(30.54, 20.76, -46.94) |
| CIE-LCH | lch(30.54, 51.32, 293.86°) |
| OKLab | oklab(40.91% 0 -0.1349) |
| OKLCH | oklch(40.91% 0.135 270) |
| XYZ | xyz(8.2491, 6.4595, 28.0006) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.23
Cobalt (survey)
#1E488F
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.96
Cobalt
#0047AB
ΔE00 5.06
Darkslateblue
#483D8B
ΔE00 5.55
Darkish Blue
#014182
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4192 #92802F
analogous
#2F7292 #2F4192 #4E2F92
triadic
#2F4192 #922F41 #41922F
tetradic
#2F4192 #922F72 #92802F #2F924E
square
#2F4192 #922F72 #92802F #2F924E
split-complementary
#2F4192 #924E2F #72922F
monochromatic
#111835 #202C64 #2F4192 #3E56C0 #6C7ED0
Accessibility & contrast
On white
9.16
#2F4192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F4192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4192
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4192 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044D95
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4192; /* rgb */ color: rgb(47, 65, 146); /* oklch */ color: oklch(40.9% 0.135 270.0);
Tailwind
colors: {
custom: {
50: '#7375b3',
500: '#2f4192',
950: '#000000',
},
}SCSS
$custom: #2f4192; $custom-light: #7375b3; $custom-dark: #000000;
JSON
{
"hex": "#2f4192",
"rgb": {
"r": 47,
"g": 65,
"b": 146
},
"hsl": {
"h": 229.091,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.40908,
"c": 0.13491,
"h": 270
},
"luminance": 0.0646
}Semantic roles & 50–950 ramp
primary
#2F4192
secondary
#B7A866
accent
#C14DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80