#2B3AAD#2B3AAD

#2B3AAD is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.182 H 270.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2B3AAD
RGBrgb(43, 58, 173)
HSLhsl(233, 60%, 42%)
HSVhsv(233, 75%, 68%)
CMYKcmyk(75.1%, 66.5%, 0%, 32.2%)
CIE-LABlab(30.77, 34.82, -62.91)
CIE-LCHlch(30.77, 71.90, 298.97°)
OKLaboklab(41.72% 0.001 -0.182)
OKLCHoklch(41.72% 0.182 270.3)
XYZxyz(10.0496, 6.5558, 40.2628)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3AAD #AD9E2B
analogous
#2B7BAD #2B3AAD #5D2BAD
triadic
#2B3AAD #AD2B3A #3AAD2B
tetradic
#2B3AAD #AD2B7B #AD9E2B #2BAD5D
square
#2B3AAD #AD2B7B #AD9E2B #2BAD5D
split-complementary
#2B3AAD #AD5D2B #7BAD2B
monochromatic
#13194B #1F2A7C #2B3AAD #4555D1 #7681DD

Accessibility & contrast

On white

9.09
#2B3AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2B3AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3AAD
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3AAD#FFFFFF#000000##FFFFFF
##2B3AAD1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3aad;
/* rgb */ color: rgb(43, 58, 173);
/* oklch */ color: oklch(41.7% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#7970c6',
    500: '#2b3aad',
    950: '#000000',
  },
}
SCSS
$custom: #2b3aad;
$custom-light: #7970c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3aad",
  "rgb": {
    "r": 43,
    "g": 58,
    "b": 173
  },
  "hsl": {
    "h": 233.077,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.18196,
    "h": 270.3
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#2B3AAD
secondary
#C4BB6F
accent
#D144E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B3AAD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2B3AAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva