#2F4295#2F4295
#2F4295 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.138 H 269.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4295 |
|---|---|
| RGB | rgb(47, 66, 149) |
| HSL | hsl(229, 52%, 38%) |
| HSV | hsv(229, 68%, 58%) |
| CMYK | cmyk(68.5%, 55.7%, 0%, 41.6%) |
| CIE-LAB | lab(31.04, 21.20, -47.96) |
| CIE-LCH | lch(31.04, 52.44, 293.85°) |
| OKLab | oklab(41.36% -0.0007 -0.1379) |
| OKLCH | oklch(41.36% 0.138 269.7) |
| XYZ | xyz(8.5435, 6.6699, 29.2651) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.24
Blueberry
#464196
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.65
Sapphire (survey)
#2138AB
ΔE00 4.79
Darkslateblue
#483D8B
ΔE00 5.78
Darkish Blue
#014182
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4295 #95822F
analogous
#2F7595 #2F4295 #4F2F95
triadic
#2F4295 #952F42 #42952F
tetradic
#2F4295 #952F75 #95822F #2F954F
square
#2F4295 #952F75 #95822F #2F954F
split-complementary
#2F4295 #954F2F #75952F
monochromatic
#121938 #202D66 #2F4295 #3F57C2 #6D80D1
Accessibility & contrast
On white
9.00
#2F4295 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F4295 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4295
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4295 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4295 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4295; /* rgb */ color: rgb(47, 66, 149); /* oklch */ color: oklch(41.4% 0.138 269.7);
Tailwind
colors: {
custom: {
50: '#7476b5',
500: '#2f4295',
950: '#000000',
},
}SCSS
$custom: #2f4295; $custom-light: #7476b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4295",
"rgb": {
"r": 47,
"g": 66,
"b": 149
},
"hsl": {
"h": 228.824,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.41355,
"c": 0.13791,
"h": 269.7
},
"luminance": 0.06671
}Semantic roles & 50–950 ramp
primary
#2F4295
secondary
#B8A967
accent
#C14CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80