#2F4194#2F4194
#2F4194 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.138 H 270.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4194 |
|---|---|
| RGB | rgb(47, 65, 148) |
| HSL | hsl(229, 52%, 38%) |
| HSV | hsv(229, 68%, 58%) |
| CMYK | cmyk(68.2%, 56.1%, 0%, 42%) |
| CIE-LAB | lab(30.69, 21.50, -47.92) |
| CIE-LCH | lch(30.69, 52.52, 294.17°) |
| OKLab | oklab(41.07% 0.0001 -0.1378) |
| OKLCH | oklch(41.07% 0.138 270) |
| XYZ | xyz(8.4061, 6.5223, 28.8272) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.14
Cobalt (survey)
#1E488F
ΔE00 4.47
Sapphire (survey)
#2138AB
ΔE00 4.69
Cobalt
#0047AB
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 5.57
Darkish Blue
#014182
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4194 #94822F
analogous
#2F7394 #2F4194 #4F2F94
triadic
#2F4194 #942F41 #41942F
tetradic
#2F4194 #942F73 #94822F #2F944F
square
#2F4194 #942F73 #94822F #2F944F
split-complementary
#2F4194 #944F2F #73942F
monochromatic
#111837 #202D66 #2F4194 #3E56C2 #6D7FD1
Accessibility & contrast
On white
9.11
#2F4194 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F4194 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4194
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4194 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4194 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4194; /* rgb */ color: rgb(47, 65, 148); /* oklch */ color: oklch(41.1% 0.138 270.0);
Tailwind
colors: {
custom: {
50: '#7475b4',
500: '#2f4194',
950: '#000000',
},
}SCSS
$custom: #2f4194; $custom-light: #7475b4; $custom-dark: #000000;
JSON
{
"hex": "#2f4194",
"rgb": {
"r": 47,
"g": 65,
"b": 148
},
"hsl": {
"h": 229.307,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.41069,
"c": 0.1378,
"h": 270
},
"luminance": 0.06523
}Semantic roles & 50–950 ramp
primary
#2F4194
secondary
#B8A967
accent
#C24DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80