#2F279E#2F279E
#2F279E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.182 H 275.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F279E |
|---|---|
| RGB | rgb(47, 39, 158) |
| HSL | hsl(244, 60%, 39%) |
| HSV | hsv(244, 75%, 62%) |
| CMYK | cmyk(70.3%, 75.3%, 0%, 38%) |
| CIE-LAB | lab(25.33, 41.58, -62.80) |
| CIE-LCH | lch(25.33, 75.32, 303.51°) |
| OKLab | oklab(37.42% 0.0188 -0.1815) |
| OKLCH | oklch(37.42% 0.182 275.9) |
| XYZ | xyz(8.0673, 4.5233, 32.7891) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.03
Royal
#0C1793
ΔE00 4.44
Sapphire (survey)
#2138AB
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 5.39
Ultramarine
#2000B1
ΔE00 5.84
Royal Blue (survey)
#0504AA
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F279E #969E27
analogous
#275A9E #2F279E #6A279E
triadic
#2F279E #9E2F27 #279E2F
tetradic
#2F279E #9E275A #969E27 #279E6A
square
#2F279E #9E275A #969E27 #279E6A
split-complementary
#2F279E #9E6A27 #5A9E27
monochromatic
#120F3C #201B6D #2F279E #3F35CD #6E66D9
Accessibility & contrast
On white
11.02
#2F279E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F279E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F279E
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F279E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F279E | 1.00 | 11.02 | 1.90 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f279e; /* rgb */ color: rgb(47, 39, 158); /* oklch */ color: oklch(37.4% 0.182 275.9);
Tailwind
colors: {
custom: {
50: '#7863bc',
500: '#2f279e',
950: '#000000',
},
}SCSS
$custom: #2f279e; $custom-light: #7863bc; $custom-dark: #000000;
JSON
{
"hex": "#2f279e",
"rgb": {
"r": 47,
"g": 39,
"b": 158
},
"hsl": {
"h": 244.034,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.37424,
"c": 0.18248,
"h": 275.9
},
"luminance": 0.04524
}Semantic roles & 50–950 ramp
primary
#2F279E
secondary
#B9BF62
accent
#E444D9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81