#2B3591#2B3591

#2B3591 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.150 H 272.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2B3591
RGBrgb(43, 53, 145)
HSLhsl(234, 54%, 37%)
HSVhsv(234, 70%, 57%)
CMYKcmyk(70.3%, 63.4%, 0%, 43.1%)
CIE-LABlab(27.03, 27.83, -52.05)
CIE-LCHlch(27.03, 59.02, 298.13°)
OKLaboklab(38.2% 0.0061 -0.1502)
OKLCHoklch(38.2% 0.15 272.3)
XYZxyz(7.3785, 5.1034, 27.3788)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3591 #91872B
analogous
#2B6891 #2B3591 #542B91
triadic
#2B3591 #912B35 #35912B
tetradic
#2B3591 #912B68 #91872B #2B9154
square
#2B3591 #912B68 #91872B #2B9154
split-complementary
#2B3591 #91542B #68912B
monochromatic
#0F1233 #1D2462 #2B3591 #3946C0 #6570D1

Accessibility & contrast

On white

10.39
#2B3591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B3591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3591
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3591#FFFFFF#000000##FFFFFF
##2B35911.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b3591;
/* rgb */ color: rgb(43, 53, 145);
/* oklch */ color: oklch(38.2% 0.150 272.3);
Tailwind
colors: {
  custom: {
    50: '#726cb2',
    500: '#2b3591',
    950: '#000000',
  },
}
SCSS
$custom: #2b3591;
$custom-light: #726cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3591",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 234.118,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.1503,
    "h": 272.3
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#2B3591
secondary
#B8AF60
accent
#CF4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2B3591

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

Preview Lab → · Contrast checker → · Palette generator →

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