#2F289C#2F289C
#2F289C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.179 H 276.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F289C |
|---|---|
| RGB | rgb(47, 40, 156) |
| HSL | hsl(244, 59%, 38%) |
| HSV | hsv(244, 74%, 61%) |
| CMYK | cmyk(69.9%, 74.4%, 0%, 38.8%) |
| CIE-LAB | lab(25.33, 40.35, -61.58) |
| CIE-LCH | lch(25.33, 73.63, 303.24°) |
| OKLab | oklab(37.36% 0.0187 -0.178) |
| OKLCH | oklch(37.36% 0.179 276) |
| XYZ | xyz(7.9299, 4.5215, 31.9009) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.40
Royal
#0C1793
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.67
Royal Blue (survey)
#0504AA
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F289C #959C28
analogous
#285B9C #2F289C #69289C
triadic
#2F289C #9C2F28 #289C2F
tetradic
#2F289C #9C285B #959C28 #289C69
square
#2F289C #9C285B #959C28 #289C69
split-complementary
#2F289C #9C6928 #5B9C28
monochromatic
#120F3B #201C6B #2F289C #3F36CB #6D67D8
Accessibility & contrast
On white
11.03
#2F289C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F289C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F289C
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F289C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F289C | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f289c; /* rgb */ color: rgb(47, 40, 156); /* oklch */ color: oklch(37.4% 0.179 276.0);
Tailwind
colors: {
custom: {
50: '#7864ba',
500: '#2f289c',
950: '#000000',
},
}SCSS
$custom: #2f289c; $custom-light: #7864ba; $custom-dark: #000000;
JSON
{
"hex": "#2f289c",
"rgb": {
"r": 47,
"g": 40,
"b": 156
},
"hsl": {
"h": 243.621,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.37358,
"c": 0.17897,
"h": 276
},
"luminance": 0.04522
}Semantic roles & 50–950 ramp
primary
#2F289C
secondary
#B8BE62
accent
#E245D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81