#2B306A#2B306A
#2B306A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.100 H 276.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B306A |
|---|---|
| RGB | rgb(43, 48, 106) |
| HSL | hsl(235, 42%, 29%) |
| HSV | hsv(235, 59%, 42%) |
| CMYK | cmyk(59.4%, 54.7%, 0%, 58.4%) |
| CIE-LAB | lab(22.54, 16.79, -34.72) |
| CIE-LCH | lch(22.54, 38.57, 295.81°) |
| OKLab | oklab(33.88% 0.0104 -0.0993) |
| OKLCH | oklch(33.88% 0.1 276) |
| XYZ | xyz(4.6539, 3.6678, 14.0956) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.07
Navy Blue
#1B2A4A
ΔE00 6.85
Darkslateblue
#483D8B
ΔE00 7.32
Midnight Blue
#191970
ΔE00 7.63
Marine Blue
#01386A
ΔE00 8.03
Blueberry
#464196
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B306A #6A652B
analogous
#2B506A #2B306A #462B6A
triadic
#2B306A #6A2B30 #306A2B
tetradic
#2B306A #6A2B50 #6A652B #2B6A46
square
#2B306A #6A2B50 #6A652B #2B6A46
split-complementary
#2B306A #6A462B #506A2B
monochromatic
#090A16 #191C3E #2B306A #3D4496 #555DBA
Accessibility & contrast
On white
12.11
#2B306A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2B306A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B306A
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B306A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B306A | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#10396C
Deuteranopia (green-blind)
#053369
Tritanopia (blue-blind)
#083D48
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b306a; /* rgb */ color: rgb(43, 48, 106); /* oklch */ color: oklch(33.9% 0.100 276.0);
Tailwind
colors: {
custom: {
50: '#6a6895',
500: '#2b306a',
950: '#000000',
},
}SCSS
$custom: #2b306a; $custom-light: #6a6895; $custom-dark: #000000;
JSON
{
"hex": "#2b306a",
"rgb": {
"r": 43,
"g": 48,
"b": 106
},
"hsl": {
"h": 235.238,
"s": 42.282,
"l": 29.216
},
"oklch": {
"l": 0.33879,
"c": 0.09984,
"h": 276
},
"luminance": 0.03668
}Semantic roles & 50–950 ramp
primary
#2B306A
secondary
#9C9655
accent
#C856D2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E