#2D3B89#2D3B89

#2D3B89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.130 H 271.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D3B89
RGBrgb(45, 59, 137)
HSLhsl(231, 51%, 36%)
HSVhsv(231, 67%, 54%)
CMYKcmyk(67.2%, 56.9%, 0%, 46.3%)
CIE-LABlab(28.09, 21.12, -45.37)
CIE-LCHlch(28.09, 50.04, 294.96°)
OKLaboklab(38.82% 0.003 -0.1304)
OKLCHoklch(38.82% 0.13 271.3)
XYZxyz(7.1600, 5.4913, 24.3447)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B89 #897B2D
analogous
#2D6989 #2D3B89 #4D2D89
triadic
#2D3B89 #892D3B #3B892D
tetradic
#2D3B89 #892D69 #897B2D #2D894D
square
#2D3B89 #892D69 #897B2D #2D894D
split-complementary
#2D3B89 #894D2D #69892D
monochromatic
#0F132D #1E275B #2D3B89 #3C4FB7 #6474CC

Accessibility & contrast

On white

10.01
#2D3B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D3B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B89
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B89#FFFFFF#000000##FFFFFF
##2D3B891.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3b89;
/* rgb */ color: rgb(45, 59, 137);
/* oklch */ color: oklch(38.8% 0.130 271.3);
Tailwind
colors: {
  custom: {
    50: '#7170ac',
    500: '#2d3b89',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b89;
$custom-light: #7170ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b89",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 230.87,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.13046,
    "h": 271.3
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#2D3B89
secondary
#B3A65F
accent
#C54EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3B89

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

Preview Lab → · Contrast checker → · Palette generator →

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