#2D3C7D#2D3C7D

#2D3C7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.111 H 270.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2D3C7D
RGBrgb(45, 60, 125)
HSLhsl(229, 47%, 33%)
HSVhsv(229, 64%, 49%)
CMYKcmyk(64%, 52%, 0%, 51%)
CIE-LABlab(27.49, 15.94, -38.85)
CIE-LCHlch(27.49, 42.00, 292.31°)
OKLaboklab(38.09% 0.0011 -0.1112)
OKLCHoklch(38.09% 0.111 270.5)
XYZxyz(6.3985, 5.2697, 20.0780)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C7D #7D6E2D
analogous
#2D647D #2D3C7D #462D7D
triadic
#2D3C7D #7D2D3C #3C7D2D
tetradic
#2D3C7D #7D2D64 #7D6E2D #2D7D46
square
#2D3C7D #7D2D64 #7D6E2D #2D7D46
split-complementary
#2D3C7D #7D462D #647D2D
monochromatic
#0D1123 #1D2650 #2D3C7D #3D52AA #5F72C5

Accessibility & contrast

On white

10.22
#2D3C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D3C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C7D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C7D#FFFFFF#000000##FFFFFF
##2D3C7D1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3c7d;
/* rgb */ color: rgb(45, 60, 125);
/* oklch */ color: oklch(38.1% 0.111 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e71a3',
    500: '#2d3c7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c7d;
$custom-light: #6e71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c7d",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 228.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.11126,
    "h": 270.5
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#2D3C7D
secondary
#AC9C5A
accent
#BE51D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D3C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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