#2D3589#2D3589

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

Color values

HEX#2D3589
RGBrgb(45, 53, 137)
HSLhsl(235, 51%, 36%)
HSVhsv(235, 67%, 54%)
CMYKcmyk(67.2%, 61.3%, 0%, 46.3%)
CIE-LABlab(26.48, 25.18, -47.99)
CIE-LCHlch(26.48, 54.20, 297.69°)
OKLaboklab(37.62% 0.0086 -0.1382)
OKLCHoklch(37.62% 0.138 273.6)
XYZxyz(6.8691, 4.9096, 24.2477)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3589 #89812D
analogous
#2D6389 #2D3589 #532D89
triadic
#2D3589 #892D35 #35892D
tetradic
#2D3589 #892D63 #89812D #2D8953
square
#2D3589 #892D63 #89812D #2D8953
split-complementary
#2D3589 #89532D #63892D
monochromatic
#0F112D #1E235B #2D3589 #3C47B7 #646DCC

Accessibility & contrast

On white

10.60
#2D3589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3589
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3589#FFFFFF#000000##FFFFFF
##2D35891.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3589;
/* rgb */ color: rgb(45, 53, 137);
/* oklch */ color: oklch(37.6% 0.138 273.6);
Tailwind
colors: {
  custom: {
    50: '#726cac',
    500: '#2d3589',
    950: '#000000',
  },
}
SCSS
$custom: #2d3589;
$custom-light: #726cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3589",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 234.783,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37617,
    "c": 0.13849,
    "h": 273.6
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#2D3589
secondary
#B3AB5F
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D3589

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

Preview Lab → · Contrast checker → · Palette generator →

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