#2D3B8D#2D3B8D

#2D3B8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.136 H 271.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2D3B8D
RGBrgb(45, 59, 141)
HSLhsl(231, 52%, 36%)
HSVhsv(231, 68%, 55%)
CMYKcmyk(68.1%, 58.2%, 0%, 44.7%)
CIE-LABlab(28.40, 22.62, -47.34)
CIE-LCHlch(28.40, 52.47, 295.54°)
OKLaboklab(39.15% 0.0032 -0.1362)
OKLCHoklch(39.15% 0.136 271.3)
XYZxyz(7.4523, 5.6082, 25.8839)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B8D #8D7F2D
analogous
#2D6B8D #2D3B8D #4F2D8D
triadic
#2D3B8D #8D2D3B #3B8D2D
tetradic
#2D3B8D #8D2D6B #8D7F2D #2D8D4F
square
#2D3B8D #8D2D6B #8D7F2D #2D8D4F
split-complementary
#2D3B8D #8D4F2D #6B8D2D
monochromatic
#0F1430 #1E285F #2D3B8D #3C4EBB #6675CE

Accessibility & contrast

On white

9.90
#2D3B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D3B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B8D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B8D#FFFFFF#000000##FFFFFF
##2D3B8D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3b8d;
/* rgb */ color: rgb(45, 59, 141);
/* oklch */ color: oklch(39.1% 0.136 271.3);
Tailwind
colors: {
  custom: {
    50: '#7270af',
    500: '#2d3b8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b8d;
$custom-light: #7270af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b8d",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 231.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3915,
    "c": 0.13627,
    "h": 271.3
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#2D3B8D
secondary
#B5A961
accent
#C64DDB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D3B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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