#2B268E#2B268E
#2B268E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.164 H 276.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B268E |
|---|---|
| RGB | rgb(43, 38, 142) |
| HSL | hsl(243, 58%, 35%) |
| HSV | hsv(243, 73%, 56%) |
| CMYK | cmyk(69.7%, 73.2%, 0%, 44.3%) |
| CIE-LAB | lab(23.18, 36.34, -56.51) |
| CIE-LCH | lch(23.18, 67.18, 302.74°) |
| OKLab | oklab(35.32% 0.0173 -0.1633) |
| OKLCH | oklch(35.32% 0.164 276) |
| XYZ | xyz(6.5703, 3.8522, 25.9832) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.92
Midnight Blue
#191970
ΔE00 5.48
Indigo Blue
#3A18B1
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.13
Sapphire (survey)
#2138AB
ΔE00 6.34
Royal Blue (survey)
#0504AA
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B268E #898E26
analogous
#26558E #2B268E #5F268E
triadic
#2B268E #8E2B26 #268E2B
tetradic
#2B268E #8E2655 #898E26 #268E5F
square
#2B268E #8E2655 #898E26 #268E5F
split-complementary
#2B268E #8E5F26 #558E26
monochromatic
#0E0C2D #1C195E #2B268E #3A33BE #615BD3
Accessibility & contrast
On white
11.86
#2B268E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2B268E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B268E
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B268E | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b268e; /* rgb */ color: rgb(43, 38, 142); /* oklch */ color: oklch(35.3% 0.164 276.0);
Tailwind
colors: {
custom: {
50: '#7362b0',
500: '#2b268e',
950: '#000000',
},
}SCSS
$custom: #2b268e; $custom-light: #7362b0; $custom-dark: #000000;
JSON
{
"hex": "#2b268e",
"rgb": {
"r": 43,
"g": 38,
"b": 142
},
"hsl": {
"h": 242.885,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.35321,
"c": 0.16418,
"h": 276
},
"luminance": 0.03853
}Semantic roles & 50–950 ramp
primary
#2B268E
secondary
#B3B858
accent
#E147DA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980