#2D3C9B#2D3C9B

#2D3C9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.155 H 270.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2D3C9B
RGBrgb(45, 60, 155)
HSLhsl(232, 55%, 39%)
HSVhsv(232, 71%, 61%)
CMYKcmyk(71%, 61.3%, 0%, 39.2%)
CIE-LABlab(29.80, 27.16, -53.64)
CIE-LCHlch(29.80, 60.12, 296.85°)
OKLaboklab(40.55% 0.0024 -0.1547)
OKLCHoklch(40.55% 0.155 270.9)
XYZxyz(8.6124, 6.1553, 31.7382)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C9B #9B8C2D
analogous
#2D739B #2D3C9B #552D9B
triadic
#2D3C9B #9B2D3C #3C9B2D
tetradic
#2D3C9B #9B2D73 #9B8C2D #2D9B55
square
#2D3C9B #9B2D73 #9B8C2D #2D9B55
split-complementary
#2D3C9B #9B552D #739B2D
monochromatic
#11173C #1F2A6C #2D3C9B #3E51C7 #6E7CD5

Accessibility & contrast

On white

9.41
#2D3C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D3C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C9B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C9B#FFFFFF#000000##FFFFFF
##2D3C9B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3c9b;
/* rgb */ color: rgb(45, 60, 155);
/* oklch */ color: oklch(40.5% 0.155 270.9);
Tailwind
colors: {
  custom: {
    50: '#7571b9',
    500: '#2d3c9b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c9b;
$custom-light: #7571b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c9b",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 231.818,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40547,
    "c": 0.15475,
    "h": 270.9
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#2D3C9B
secondary
#BCB068
accent
#CA49DE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2D3C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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