#2D3588#2D3588

#2D3588 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.137 H 273.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2D3588
RGBrgb(45, 53, 136)
HSLhsl(235, 50%, 35%)
HSVhsv(235, 67%, 53%)
CMYKcmyk(66.9%, 61%, 0%, 46.7%)
CIE-LABlab(26.39, 24.81, -47.51)
CIE-LCHlch(26.39, 53.60, 297.58°)
OKLaboklab(37.53% 0.0086 -0.1368)
OKLCHoklch(37.53% 0.137 273.6)
XYZxyz(6.7977, 4.8811, 23.8717)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3588 #88802D
analogous
#2D6288 #2D3588 #522D88
triadic
#2D3588 #882D35 #35882D
tetradic
#2D3588 #882D62 #88802D #2D8852
square
#2D3588 #882D62 #88802D #2D8852
split-complementary
#2D3588 #88522D #62882D
monochromatic
#0F112C #1E235A #2D3588 #3C47B6 #646DCC

Accessibility & contrast

On white

10.63
#2D3588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D3588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3588
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3588#FFFFFF#000000##FFFFFF
##2D35881.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3588;
/* rgb */ color: rgb(45, 53, 136);
/* oklch */ color: oklch(37.5% 0.137 273.6);
Tailwind
colors: {
  custom: {
    50: '#716cab',
    500: '#2d3588',
    950: '#000000',
  },
}
SCSS
$custom: #2d3588;
$custom-light: #716cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3588",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 234.725,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3753,
    "c": 0.13705,
    "h": 273.6
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#2D3588
secondary
#B2AB5F
accent
#CD4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D3588

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

Preview Lab → · Contrast checker → · Palette generator →

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