#2F4098#2F4098
#2F4098 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.145 H 270.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4098 |
|---|---|
| RGB | rgb(47, 64, 152) |
| HSL | hsl(230, 53%, 39%) |
| HSV | hsv(230, 69%, 60%) |
| CMYK | cmyk(69.1%, 57.9%, 0%, 40.4%) |
| CIE-LAB | lab(30.73, 23.67, -50.30) |
| CIE-LCH | lch(30.73, 55.59, 295.20°) |
| OKLab | oklab(41.19% 0.0012 -0.1448) |
| OKLCH | oklch(41.19% 0.145 270.5) |
| XYZ | xyz(8.6713, 6.5373, 30.5045) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.92
Sapphire (survey)
#2138AB
ΔE00 3.94
Cobalt
#0047AB
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.02
Darkslateblue
#483D8B
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4098 #98872F
analogous
#2F7598 #2F4098 #532F98
triadic
#2F4098 #982F40 #40982F
tetradic
#2F4098 #982F75 #98872F #2F9853
square
#2F4098 #982F75 #98872F #2F9853
split-complementary
#2F4098 #98532F #75982F
monochromatic
#12193B #212C69 #2F4098 #4056C4 #6F7FD2
Accessibility & contrast
On white
9.10
#2F4098 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F4098 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4098
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4098 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4098 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4098; /* rgb */ color: rgb(47, 64, 152); /* oklch */ color: oklch(41.2% 0.145 270.5);
Tailwind
colors: {
custom: {
50: '#7574b7',
500: '#2f4098',
950: '#000000',
},
}SCSS
$custom: #2f4098; $custom-light: #7574b7; $custom-dark: #000000;
JSON
{
"hex": "#2f4098",
"rgb": {
"r": 47,
"g": 64,
"b": 152
},
"hsl": {
"h": 230.286,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.41193,
"c": 0.14482,
"h": 270.5
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#2F4098
secondary
#BAAD69
accent
#C54CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80