#2F4099#2F4099
#2F4099 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.146 H 270.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4099 |
|---|---|
| RGB | rgb(47, 64, 153) |
| HSL | hsl(230, 53%, 39%) |
| HSV | hsv(230, 69%, 60%) |
| CMYK | cmyk(69.3%, 58.2%, 0%, 40%) |
| CIE-LAB | lab(30.81, 24.04, -50.78) |
| CIE-LCH | lch(30.81, 56.18, 295.33°) |
| OKLab | oklab(41.28% 0.0012 -0.1462) |
| OKLCH | oklch(41.28% 0.146 270.5) |
| XYZ | xyz(8.7535, 6.5702, 30.9377) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.81
Blueberry
#464196
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.09
Darkslateblue
#483D8B
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4099 #99882F
analogous
#2F7599 #2F4099 #532F99
triadic
#2F4099 #992F40 #40992F
tetradic
#2F4099 #992F75 #99882F #2F9953
square
#2F4099 #992F75 #99882F #2F9953
split-complementary
#2F4099 #99532F #75992F
monochromatic
#12193B #212C6A #2F4099 #4156C5 #6F7FD3
Accessibility & contrast
On white
9.07
#2F4099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F4099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4099
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4099 | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4099; /* rgb */ color: rgb(47, 64, 153); /* oklch */ color: oklch(41.3% 0.146 270.5);
Tailwind
colors: {
custom: {
50: '#7574b8',
500: '#2f4099',
950: '#000000',
},
}SCSS
$custom: #2f4099; $custom-light: #7574b8; $custom-dark: #000000;
JSON
{
"hex": "#2f4099",
"rgb": {
"r": 47,
"g": 64,
"b": 153
},
"hsl": {
"h": 230.377,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.41276,
"c": 0.14624,
"h": 270.5
},
"luminance": 0.06571
}Semantic roles & 50–950 ramp
primary
#2F4099
secondary
#BAAD69
accent
#C54BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80