#2D3E9D#2D3E9D

#2D3E9D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.155 H 270.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2D3E9D
RGBrgb(45, 62, 157)
HSLhsl(231, 55%, 40%)
HSVhsv(231, 71%, 62%)
CMYKcmyk(71.3%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.49, 26.57, -53.74)
CIE-LCHlch(30.49, 59.95, 296.31°)
OKLaboklab(41.11% 0.0009 -0.155)
OKLCHoklch(41.11% 0.155 270.3)
XYZxyz(8.8885, 6.4366, 32.6657)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E9D #9D8C2D
analogous
#2D769D #2D3E9D #542D9D
triadic
#2D3E9D #9D2D3E #3E9D2D
tetradic
#2D3E9D #9D2D76 #9D8C2D #2D9D54
square
#2D3E9D #9D2D76 #9D8C2D #2D9D54
split-complementary
#2D3E9D #9D542D #769D2D
monochromatic
#12183E #1F2B6D #2D3E9D #3F54C8 #6F7ED6

Accessibility & contrast

On white

9.18
#2D3E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D3E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E9D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E9D#FFFFFF#000000##FFFFFF
##2D3E9D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d3e9d;
/* rgb */ color: rgb(45, 62, 157);
/* oklch */ color: oklch(41.1% 0.155 270.3);
Tailwind
colors: {
  custom: {
    50: '#7573bb',
    500: '#2d3e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e9d;
$custom-light: #7573bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e9d",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 230.893,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.15499,
    "h": 270.3
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#2D3E9D
secondary
#BDB069
accent
#C849DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D3E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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