#2D3488#2D3488

#2D3488 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.138 H 273.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2D3488
RGBrgb(45, 52, 136)
HSLhsl(235, 50%, 35%)
HSVhsv(235, 67%, 53%)
CMYKcmyk(66.9%, 61.8%, 0%, 46.7%)
CIE-LABlab(26.13, 25.49, -47.93)
CIE-LCHlch(26.13, 54.29, 298.00°)
OKLaboklab(37.34% 0.0095 -0.138)
OKLCHoklch(37.34% 0.138 273.9)
XYZxyz(6.7526, 4.7909, 23.8567)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3488 #88812D
analogous
#2D6188 #2D3488 #542D88
triadic
#2D3488 #882D34 #34882D
tetradic
#2D3488 #882D61 #88812D #2D8854
square
#2D3488 #882D61 #88812D #2D8854
split-complementary
#2D3488 #88542D #61882D
monochromatic
#0F112C #1E225A #2D3488 #3C46B6 #646CCC

Accessibility & contrast

On white

10.72
#2D3488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D3488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3488
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3488#FFFFFF#000000##FFFFFF
##2D34881.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3488;
/* rgb */ color: rgb(45, 52, 136);
/* oklch */ color: oklch(37.3% 0.138 273.9);
Tailwind
colors: {
  custom: {
    50: '#716bab',
    500: '#2d3488',
    950: '#000000',
  },
}
SCSS
$custom: #2d3488;
$custom-light: #716bab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3488",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 136
  },
  "hsl": {
    "h": 235.385,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37335,
    "c": 0.13838,
    "h": 273.9
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#2D3488
secondary
#B2AC5F
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D3488

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

Preview Lab → · Contrast checker → · Palette generator →

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