#2F279C#2F279C
#2F279C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.180 H 276.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F279C |
|---|---|
| RGB | rgb(47, 39, 156) |
| HSL | hsl(244, 60%, 38%) |
| HSV | hsv(244, 75%, 61%) |
| CMYK | cmyk(69.9%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(25.12, 40.92, -61.92) |
| CIE-LCH | lch(25.12, 74.22, 303.46°) |
| OKLab | oklab(37.21% 0.0193 -0.179) |
| OKLCH | oklch(37.21% 0.18 276.1) |
| XYZ | xyz(7.8966, 4.4550, 31.8898) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Royal
#0C1793
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 5.33
Cobalt Blue
#030AA7
ΔE00 5.46
Royal Blue (survey)
#0504AA
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F279C #949C27
analogous
#27599C #2F279C #6A279C
triadic
#2F279C #9C2F27 #279C2F
tetradic
#2F279C #9C2759 #949C27 #279C6A
square
#2F279C #9C2759 #949C27 #279C6A
split-complementary
#2F279C #9C6A27 #599C27
monochromatic
#110F3A #201B6B #2F279C #3E34CC #6D65D8
Accessibility & contrast
On white
11.10
#2F279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F279C
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F279C | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f279c; /* rgb */ color: rgb(47, 39, 156); /* oklch */ color: oklch(37.2% 0.180 276.1);
Tailwind
colors: {
custom: {
50: '#7863ba',
500: '#2f279c',
950: '#000000',
},
}SCSS
$custom: #2f279c; $custom-light: #7863ba; $custom-dark: #000000;
JSON
{
"hex": "#2f279c",
"rgb": {
"r": 47,
"g": 39,
"b": 156
},
"hsl": {
"h": 244.103,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.37214,
"c": 0.17999,
"h": 276.1
},
"luminance": 0.04456
}Semantic roles & 50–950 ramp
primary
#2F279C
secondary
#B8BE61
accent
#E345D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81