#2F279F#2F279F
#2F279F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.184 H 275.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F279F |
|---|---|
| RGB | rgb(47, 39, 159) |
| HSL | hsl(244, 61%, 39%) |
| HSV | hsv(244, 75%, 62%) |
| CMYK | cmyk(70.4%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(25.44, 41.92, -63.23) |
| CIE-LCH | lch(25.44, 75.86, 303.54°) |
| OKLab | oklab(37.53% 0.0186 -0.1828) |
| OKLCH | oklch(37.53% 0.184 275.8) |
| XYZ | xyz(8.1538, 4.5578, 33.2442) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Royal
#0C1793
ΔE00 4.49
Sapphire (survey)
#2138AB
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 5.36
Ultramarine
#2000B1
ΔE00 5.78
Royal Blue (survey)
#0504AA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F279F #979F27
analogous
#275B9F #2F279F #6B279F
triadic
#2F279F #9F2F27 #279F2F
tetradic
#2F279F #9F275B #979F27 #279F6B
square
#2F279F #9F275B #979F27 #279F6B
split-complementary
#2F279F #9F6B27 #5B9F27
monochromatic
#120F3D #201B6E #2F279F #4036CE #6E67DA
Accessibility & contrast
On white
10.98
#2F279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F279F
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F279F | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f279f; /* rgb */ color: rgb(47, 39, 159); /* oklch */ color: oklch(37.5% 0.184 275.8);
Tailwind
colors: {
custom: {
50: '#7963bd',
500: '#2f279f',
950: '#000000',
},
}SCSS
$custom: #2f279f; $custom-light: #7963bd; $custom-dark: #000000;
JSON
{
"hex": "#2f279f",
"rgb": {
"r": 47,
"g": 39,
"b": 159
},
"hsl": {
"h": 244,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.3753,
"c": 0.18373,
"h": 275.8
},
"luminance": 0.04559
}Semantic roles & 50–950 ramp
primary
#2F279F
secondary
#B9C062
accent
#E444D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81