#2D3C7E#2D3C7E

#2D3C7E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.113 H 270.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2D3C7E
RGBrgb(45, 60, 126)
HSLhsl(229, 47%, 34%)
HSVhsv(229, 64%, 49%)
CMYKcmyk(64.3%, 52.4%, 0%, 50.6%)
CIE-LABlab(27.56, 16.32, -39.37)
CIE-LCHlch(27.56, 42.62, 292.51°)
OKLaboklab(38.16% 0.0012 -0.1128)
OKLCHoklch(38.16% 0.113 270.6)
XYZxyz(6.4627, 5.2954, 20.4162)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C7E #7E6F2D
analogous
#2D647E #2D3C7E #462D7E
triadic
#2D3C7E #7E2D3C #3C7E2D
tetradic
#2D3C7E #7E2D64 #7E6F2D #2D7E46
square
#2D3C7E #7E2D64 #7E6F2D #2D7E46
split-complementary
#2D3C7E #7E462D #647E2D
monochromatic
#0D1124 #1D2751 #2D3C7E #3D51AB #5F72C6

Accessibility & contrast

On white

10.20
#2D3C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D3C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C7E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C7E#FFFFFF#000000##FFFFFF
##2D3C7E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174580
Deuteranopia (green-blind)
#033E7D
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3c7e;
/* rgb */ color: rgb(45, 60, 126);
/* oklch */ color: oklch(38.2% 0.113 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f71a4',
    500: '#2d3c7e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c7e;
$custom-light: #6f71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c7e",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 228.889,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38162,
    "c": 0.11277,
    "h": 270.6
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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