#2B279E#2B279E
#2B279E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.183 H 274.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2B279E |
|---|---|
| RGB | rgb(43, 39, 158) |
| HSL | hsl(242, 60%, 39%) |
| HSV | hsv(242, 75%, 62%) |
| CMYK | cmyk(72.8%, 75.3%, 0%, 38%) |
| CIE-LAB | lab(25.05, 41.17, -63.26) |
| CIE-LCH | lch(25.05, 75.48, 303.06°) |
| OKLab | oklab(37.15% 0.0136 -0.183) |
| OKLCH | oklch(37.15% 0.183 274.3) |
| XYZ | xyz(7.8913, 4.4325, 32.7808) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.24
Indigo Blue
#3A18B1
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 5.08
Cobalt Blue
#030AA7
ΔE00 5.29
Royal Blue (survey)
#0504AA
ΔE00 5.78
Ultramarine
#2000B1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B279E #9A9E27
analogous
#275E9E #2B279E #66279E
triadic
#2B279E #9E2B27 #279E2B
tetradic
#2B279E #9E275E #9A9E27 #279E66
square
#2B279E #9E275E #9A9E27 #279E66
split-complementary
#2B279E #9E6627 #5E9E27
monochromatic
#100F3C #1E1B6D #2B279E #3A35CD #6A66D9
Accessibility & contrast
On white
11.13
#2B279E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2B279E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B279E
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B279E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B279E | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b279e; /* rgb */ color: rgb(43, 39, 158); /* oklch */ color: oklch(37.2% 0.183 274.3);
Tailwind
colors: {
custom: {
50: '#7763bc',
500: '#2b279e',
950: '#000000',
},
}SCSS
$custom: #2b279e; $custom-light: #7763bc; $custom-dark: #000000;
JSON
{
"hex": "#2b279e",
"rgb": {
"r": 43,
"g": 39,
"b": 158
},
"hsl": {
"h": 242.017,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.37154,
"c": 0.18349,
"h": 274.3
},
"luminance": 0.04433
}Semantic roles & 50–950 ramp
primary
#2B279E
secondary
#BCBF62
accent
#E444DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81