#2B279F#2B279F
#2B279F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.185 H 274.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B279F |
|---|---|
| RGB | rgb(43, 39, 159) |
| HSL | hsl(242, 61%, 39%) |
| HSV | hsv(242, 75%, 62%) |
| CMYK | cmyk(73%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(25.16, 41.51, -63.70) |
| CIE-LCH | lch(25.16, 76.03, 303.09°) |
| OKLab | oklab(37.26% 0.0134 -0.1842) |
| OKLCH | oklch(37.26% 0.185 274.2) |
| XYZ | xyz(7.9777, 4.4670, 33.2360) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Royal
#0C1793
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.26
Royal Blue (survey)
#0504AA
ΔE00 5.74
Ultramarine
#2000B1
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B279F #9B9F27
analogous
#275F9F #2B279F #67279F
triadic
#2B279F #9F2B27 #279F2B
tetradic
#2B279F #9F275F #9B9F27 #279F67
square
#2B279F #9F275F #9B9F27 #279F67
split-complementary
#2B279F #9F6727 #5F9F27
monochromatic
#100F3D #1E1B6E #2B279F #3B36CE #6B67DA
Accessibility & contrast
On white
11.09
#2B279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2B279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B279F
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B279F | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b279f; /* rgb */ color: rgb(43, 39, 159); /* oklch */ color: oklch(37.3% 0.185 274.2);
Tailwind
colors: {
custom: {
50: '#7763bd',
500: '#2b279f',
950: '#000000',
},
}SCSS
$custom: #2b279f; $custom-light: #7763bd; $custom-dark: #000000;
JSON
{
"hex": "#2b279f",
"rgb": {
"r": 43,
"g": 39,
"b": 159
},
"hsl": {
"h": 242,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.37261,
"c": 0.18473,
"h": 274.2
},
"luminance": 0.04468
}Semantic roles & 50–950 ramp
primary
#2B279F
secondary
#BCC062
accent
#E444DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81