#2D3388#2D3388

#2D3388 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.140 H 274.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2D3388
RGBrgb(45, 51, 136)
HSLhsl(236, 50%, 35%)
HSVhsv(236, 67%, 53%)
CMYKcmyk(66.9%, 62.5%, 0%, 46.7%)
CIE-LABlab(25.87, 26.16, -48.36)
CIE-LCHlch(25.87, 54.98, 298.41°)
OKLaboklab(37.14% 0.0104 -0.1393)
OKLCHoklch(37.14% 0.14 274.3)
XYZxyz(6.7085, 4.7025, 23.8419)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3388 #88822D
analogous
#2D6088 #2D3388 #542D88
triadic
#2D3388 #882D33 #33882D
tetradic
#2D3388 #882D60 #88822D #2D8854
square
#2D3388 #882D60 #88822D #2D8854
split-complementary
#2D3388 #88542D #60882D
monochromatic
#0F112C #1E225A #2D3388 #3C44B6 #646BCC

Accessibility & contrast

On white

10.82
#2D3388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D3388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3388
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3388#FFFFFF#000000##FFFFFF
##2D33881.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3388;
/* rgb */ color: rgb(45, 51, 136);
/* oklch */ color: oklch(37.1% 0.140 274.3);
Tailwind
colors: {
  custom: {
    50: '#716aab',
    500: '#2d3388',
    950: '#000000',
  },
}
SCSS
$custom: #2d3388;
$custom-light: #716aab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3388",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 236.044,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37143,
    "c": 0.1397,
    "h": 274.3
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3388

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

Preview Lab → · Contrast checker → · Palette generator →

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