#2D3391#2D3391

#2D3391 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.152 H 273.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2D3391
RGBrgb(45, 51, 145)
HSLhsl(236, 53%, 37%)
HSVhsv(236, 69%, 57%)
CMYKcmyk(69%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.65, 29.44, -52.67)
CIE-LCHlch(26.65, 60.34, 299.20°)
OKLaboklab(37.96% 0.01 -0.1519)
OKLCHoklch(37.96% 0.152 273.8)
XYZxyz(7.3751, 4.9692, 27.3531)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3391 #918B2D
analogous
#2D6591 #2D3391 #592D91
triadic
#2D3391 #912D33 #33912D
tetradic
#2D3391 #912D65 #918B2D #2D9159
square
#2D3391 #912D65 #918B2D #2D9159
split-complementary
#2D3391 #91592D #65912D
monochromatic
#101234 #1F2362 #2D3391 #3B43C0 #686ED0

Accessibility & contrast

On white

10.53
#2D3391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3391
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3391#FFFFFF#000000##FFFFFF
##2D33911.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3391;
/* rgb */ color: rgb(45, 51, 145);
/* oklch */ color: oklch(38.0% 0.152 273.8);
Tailwind
colors: {
  custom: {
    50: '#736bb2',
    500: '#2d3391',
    950: '#000000',
  },
}
SCSS
$custom: #2d3391;
$custom-light: #736bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3391",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 236.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37956,
    "c": 0.15228,
    "h": 273.8
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#2D3391
secondary
#B7B263
accent
#D34CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3391

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

Preview Lab → · Contrast checker → · Palette generator →

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