#2D3D9C#2D3D9C

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

Color values

HEX#2D3D9C
RGBrgb(45, 61, 156)
HSLhsl(231, 55%, 39%)
HSVhsv(231, 71%, 61%)
CMYKcmyk(71.2%, 60.9%, 0%, 38.8%)
CIE-LABlab(30.14, 26.87, -53.69)
CIE-LCHlch(30.14, 60.04, 296.58°)
OKLaboklab(40.83% 0.0016 -0.1549)
OKLCHoklch(40.83% 0.155 270.6)
XYZxyz(8.7496, 6.2948, 32.2000)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D9C #9C8C2D
analogous
#2D759C #2D3D9C #542D9C
triadic
#2D3D9C #9C2D3D #3D9C2D
tetradic
#2D3D9C #9C2D75 #9C8C2D #2D9C54
square
#2D3D9C #9C2D75 #9C8C2D #2D9C54
split-complementary
#2D3D9C #9C542D #759C2D
monochromatic
#12183D #1F2A6D #2D3D9C #3F52C8 #6E7DD5

Accessibility & contrast

On white

9.30
#2D3D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D3D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D9C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D9C#FFFFFF#000000##FFFFFF
##2D3D9C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3d9c;
/* rgb */ color: rgb(45, 61, 156);
/* oklch */ color: oklch(40.8% 0.155 270.6);
Tailwind
colors: {
  custom: {
    50: '#7572ba',
    500: '#2d3d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d9c;
$custom-light: #7572ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d9c",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 231.351,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.15487,
    "h": 270.6
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#2D3D9C
secondary
#BCB068
accent
#C949DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D3D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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