#2D3C5F#2D3C5F

#2D3C5F is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.0% C 0.064 H 265.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2D3C5F
RGBrgb(45, 60, 95)
HSLhsl(222, 36%, 27%)
HSVhsv(222, 53%, 37%)
CMYKcmyk(52.6%, 36.8%, 0%, 62.7%)
CIE-LABlab(25.61, 4.98, -22.70)
CIE-LCHlch(25.61, 23.24, 282.38°)
OKLaboklab(36.04% -0.0048 -0.0639)
OKLCHoklch(36.04% 0.064 265.7)
XYZxyz(4.7629, 4.6155, 11.4642)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C5F #5F502D
analogous
#2D555F #2D3C5F #372D5F
triadic
#2D3C5F #5F2D3C #3C5F2D
tetradic
#2D3C5F #5F2D55 #5F502D #2D5F37
square
#2D3C5F #5F2D55 #5F502D #2D5F37
split-complementary
#2D3C5F #5F372D #555F2D
monochromatic
#0A0D15 #192235 #2D3C5F #415689 #5772AF

Accessibility & contrast

On white

10.92
#2D3C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D3C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C5F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C5F#FFFFFF#000000##FFFFFF
##2D3C5F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#293B5E
Tritanopia (blue-blind)
#184349
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3c5f;
/* rgb */ color: rgb(45, 60, 95);
/* oklch */ color: oklch(36.0% 0.064 265.7);
Tailwind
colors: {
  custom: {
    50: '#69718c',
    500: '#2d3c5f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c5f;
$custom-light: #69718c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c5f",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 95
  },
  "hsl": {
    "h": 222,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36036,
    "c": 0.06409,
    "h": 265.7
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#2D3C5F
secondary
#917F57
accent
#AA5CCC
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2D3C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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