#2D3389#2D3389

#2D3389 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.141 H 274.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2D3389
RGBrgb(45, 51, 137)
HSLhsl(236, 51%, 36%)
HSVhsv(236, 67%, 54%)
CMYKcmyk(67.2%, 62.8%, 0%, 46.3%)
CIE-LABlab(25.95, 26.52, -48.84)
CIE-LCHlch(25.95, 55.58, 298.50°)
OKLaboklab(37.23% 0.0104 -0.1407)
OKLCHoklch(37.23% 0.141 274.2)
XYZxyz(6.7799, 4.7311, 24.2180)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3389 #89832D
analogous
#2D6189 #2D3389 #552D89
triadic
#2D3389 #892D33 #33892D
tetradic
#2D3389 #892D61 #89832D #2D8955
square
#2D3389 #892D61 #89832D #2D8955
split-complementary
#2D3389 #89552D #61892D
monochromatic
#0F112D #1E225B #2D3389 #3C44B7 #646BCC

Accessibility & contrast

On white

10.79
#2D3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3389
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3389#FFFFFF#000000##FFFFFF
##2D33891.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3389;
/* rgb */ color: rgb(45, 51, 137);
/* oklch */ color: oklch(37.2% 0.141 274.2);
Tailwind
colors: {
  custom: {
    50: '#726aac',
    500: '#2d3389',
    950: '#000000',
  },
}
SCSS
$custom: #2d3389;
$custom-light: #726aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3389",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 236.087,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37231,
    "c": 0.14111,
    "h": 274.2
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#2D3389
secondary
#B3AD5F
accent
#D14EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D3389

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

Preview Lab → · Contrast checker → · Palette generator →

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