#2D3C9E#2D3C9E

#2D3C9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.159 H 270.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2D3C9E
RGBrgb(45, 60, 158)
HSLhsl(232, 56%, 40%)
HSVhsv(232, 72%, 62%)
CMYKcmyk(71.5%, 62%, 0%, 38%)
CIE-LABlab(30.05, 28.27, -55.05)
CIE-LCHlch(30.05, 61.89, 297.18°)
OKLaboklab(40.81% 0.0024 -0.1589)
OKLCHoklch(40.81% 0.159 270.9)
XYZxyz(8.8675, 6.2573, 33.0816)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C9E #9E8F2D
analogous
#2D759E #2D3C9E #562D9E
triadic
#2D3C9E #9E2D3C #3C9E2D
tetradic
#2D3C9E #9E2D75 #9E8F2D #2D9E56
square
#2D3C9E #9E2D75 #9E8F2D #2D9E56
split-complementary
#2D3C9E #9E562D #759E2D
monochromatic
#12183F #1F2A6E #2D3C9E #4052C9 #6F7DD6

Accessibility & contrast

On white

9.33
#2D3C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D3C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C9E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C9E#FFFFFF#000000##FFFFFF
##2D3C9E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3c9e;
/* rgb */ color: rgb(45, 60, 158);
/* oklch */ color: oklch(40.8% 0.159 270.9);
Tailwind
colors: {
  custom: {
    50: '#7671bb',
    500: '#2d3c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c9e;
$custom-light: #7671bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c9e",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 232.035,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.1589,
    "h": 270.9
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#2D3C9E
secondary
#BDB269
accent
#CB49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D3C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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