#2B3374#2B3374
#2B3374 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.111 H 274.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3374 |
|---|---|
| RGB | rgb(43, 51, 116) |
| HSL | hsl(233, 46%, 31%) |
| HSV | hsv(233, 63%, 45%) |
| CMYK | cmyk(62.9%, 56%, 0%, 54.5%) |
| CIE-LAB | lab(24.13, 18.40, -38.58) |
| CIE-LCH | lch(24.13, 42.74, 295.50°) |
| OKLab | oklab(35.31% 0.0077 -0.1106) |
| OKLCH | oklch(35.31% 0.111 274) |
| XYZ | xyz(5.3314, 4.1418, 17.0381) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.18
Blueberry
#464196
ΔE00 7.11
Marine Blue
#01386A
ΔE00 7.40
Midnight Blue
#191970
ΔE00 7.77
Navy Blue
#1B2A4A
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3374 #746C2B
analogous
#2B5774 #2B3374 #472B74
triadic
#2B3374 #742B33 #33742B
tetradic
#2B3374 #742B57 #746C2B #2B7447
square
#2B3374 #742B57 #746C2B #2B7447
split-complementary
#2B3374 #74472B #57742B
monochromatic
#0A0C1B #1A1F47 #2B3374 #3C47A1 #5864C1
Accessibility & contrast
On white
11.49
#2B3374 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B3374 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3374
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3374 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3374 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b3374; /* rgb */ color: rgb(43, 51, 116); /* oklch */ color: oklch(35.3% 0.111 274.0);
Tailwind
colors: {
custom: {
50: '#6c6a9c',
500: '#2b3374',
950: '#000000',
},
}SCSS
$custom: #2b3374; $custom-light: #6c6a9c; $custom-dark: #000000;
JSON
{
"hex": "#2b3374",
"rgb": {
"r": 43,
"g": 51,
"b": 116
},
"hsl": {
"h": 233.425,
"s": 45.912,
"l": 31.176
},
"oklch": {
"l": 0.35312,
"c": 0.11087,
"h": 274
},
"luminance": 0.04142
}Semantic roles & 50–950 ramp
primary
#2B3374
secondary
#A69D55
accent
#C752D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E