#2B3391#2B3391

#2B3391 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.153 H 272.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2B3391
RGBrgb(43, 51, 145)
HSLhsl(235, 54%, 37%)
HSVhsv(235, 70%, 57%)
CMYKcmyk(70.3%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.52, 29.16, -52.88)
CIE-LCHlch(26.52, 60.38, 298.87°)
OKLaboklab(37.83% 0.0076 -0.1526)
OKLCHoklch(37.83% 0.153 272.9)
XYZxyz(7.2892, 4.9249, 27.3490)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3391 #91892B
analogous
#2B6691 #2B3391 #562B91
triadic
#2B3391 #912B33 #33912B
tetradic
#2B3391 #912B66 #91892B #2B9156
square
#2B3391 #912B66 #91892B #2B9156
split-complementary
#2B3391 #91562B #66912B
monochromatic
#0F1233 #1D2262 #2B3391 #3944C0 #656ED1

Accessibility & contrast

On white

10.58
#2B3391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B3391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3391
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3391#FFFFFF#000000##FFFFFF
##2B33911.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b3391;
/* rgb */ color: rgb(43, 51, 145);
/* oklch */ color: oklch(37.8% 0.153 272.9);
Tailwind
colors: {
  custom: {
    50: '#736ab2',
    500: '#2b3391',
    950: '#000000',
  },
}
SCSS
$custom: #2b3391;
$custom-light: #736ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3391",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 235.294,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37829,
    "c": 0.15282,
    "h": 272.9
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#2B3391
secondary
#B8B160
accent
#D24ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B3391

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

Preview Lab → · Contrast checker → · Palette generator →

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