#2D3CAD#2D3CAD

#2D3CAD is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.179 H 270.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2D3CAD
RGBrgb(45, 60, 173)
HSLhsl(233, 59%, 43%)
HSVhsv(233, 74%, 68%)
CMYKcmyk(74%, 65.3%, 0%, 32.2%)
CIE-LABlab(31.36, 33.76, -61.94)
CIE-LCHlch(31.36, 70.55, 298.59°)
OKLaboklab(42.18% 0.0018 -0.1791)
OKLCHoklch(42.18% 0.179 270.6)
XYZxyz(10.2383, 6.8057, 40.3011)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CAD #AD9E2D
analogous
#2D7CAD #2D3CAD #5E2DAD
triadic
#2D3CAD #AD2D3C #3CAD2D
tetradic
#2D3CAD #AD2D7C #AD9E2D #2DAD5E
square
#2D3CAD #AD2D7C #AD9E2D #2DAD5E
split-complementary
#2D3CAD #AD5E2D #7CAD2D
monochromatic
#141A4C #202B7C #2D3CAD #4858CF #7884DC

Accessibility & contrast

On white

8.89
#2D3CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D3CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CAD
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CAD#FFFFFF#000000##FFFFFF
##2D3CAD1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3cad;
/* rgb */ color: rgb(45, 60, 173);
/* oklch */ color: oklch(42.2% 0.179 270.6);
Tailwind
colors: {
  custom: {
    50: '#7972c6',
    500: '#2d3cad',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cad;
$custom-light: #7972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cad",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 173
  },
  "hsl": {
    "h": 232.969,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.17908,
    "h": 270.6
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#2D3CAD
secondary
#C4BA72
accent
#D046E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D3CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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