#2F4492#2F4492
#2F4492 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.131 H 268.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4492 |
|---|---|
| RGB | rgb(47, 68, 146) |
| HSL | hsl(227, 51%, 38%) |
| HSV | hsv(227, 68%, 57%) |
| CMYK | cmyk(67.8%, 53.4%, 0%, 42.7%) |
| CIE-LAB | lab(31.38, 18.73, -45.59) |
| CIE-LCH | lch(31.38, 49.29, 292.34°) |
| OKLab | oklab(41.54% -0.0029 -0.1309) |
| OKLCH | oklch(41.54% 0.131 268.7) |
| XYZ | xyz(8.4259, 6.8131, 28.0596) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.49
Cobalt
#0047AB
ΔE00 4.58
Blueberry
#464196
ΔE00 4.79
Darkish Blue
#014182
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4492 #927D2F
analogous
#2F7592 #2F4492 #4C2F92
triadic
#2F4492 #922F44 #44922F
tetradic
#2F4492 #922F75 #927D2F #2F924C
square
#2F4492 #922F75 #927D2F #2F924C
split-complementary
#2F4492 #924C2F #75922F
monochromatic
#111935 #202E64 #2F4492 #3E5AC0 #6C81D0
Accessibility & contrast
On white
8.89
#2F4492 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2F4492 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4492
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4492 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4492 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f4492; /* rgb */ color: rgb(47, 68, 146); /* oklch */ color: oklch(41.5% 0.131 268.7);
Tailwind
colors: {
custom: {
50: '#7377b2',
500: '#2f4492',
950: '#000000',
},
}SCSS
$custom: #2f4492; $custom-light: #7377b2; $custom-dark: #000000;
JSON
{
"hex": "#2f4492",
"rgb": {
"r": 47,
"g": 68,
"b": 146
},
"hsl": {
"h": 227.273,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.41537,
"c": 0.13093,
"h": 268.7
},
"luminance": 0.06814
}Semantic roles & 50–950 ramp
primary
#2F4492
secondary
#B7A666
accent
#BD4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80