#2D3689#2D3689

#2D3689 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.137 H 273.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2D3689
RGBrgb(45, 54, 137)
HSLhsl(234, 51%, 36%)
HSVhsv(234, 67%, 54%)
CMYKcmyk(67.2%, 60.6%, 0%, 46.3%)
CIE-LABlab(26.74, 24.51, -47.56)
CIE-LCHlch(26.74, 53.51, 297.26°)
OKLaboklab(37.81% 0.0077 -0.1369)
OKLCHoklch(37.81% 0.137 273.2)
XYZxyz(6.9152, 5.0018, 24.2631)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3689 #89802D
analogous
#2D6489 #2D3689 #522D89
triadic
#2D3689 #892D36 #36892D
tetradic
#2D3689 #892D64 #89802D #2D8952
square
#2D3689 #892D64 #89802D #2D8952
split-complementary
#2D3689 #89522D #64892D
monochromatic
#0F122D #1E245B #2D3689 #3C48B7 #646ECC

Accessibility & contrast

On white

10.50
#2D3689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D3689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3689
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3689#FFFFFF#000000##FFFFFF
##2D36891.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3689;
/* rgb */ color: rgb(45, 54, 137);
/* oklch */ color: oklch(37.8% 0.137 273.2);
Tailwind
colors: {
  custom: {
    50: '#716dac',
    500: '#2d3689',
    950: '#000000',
  },
}
SCSS
$custom: #2d3689;
$custom-light: #716dac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3689",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 234.13,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.13716,
    "h": 273.2
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3689

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

Preview Lab → · Contrast checker → · Palette generator →

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