#2D3DAE#2D3DAE

#2D3DAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.179 H 270.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D3DAE
RGBrgb(45, 61, 174)
HSLhsl(233, 59%, 43%)
HSVhsv(233, 74%, 68%)
CMYKcmyk(74.1%, 64.9%, 0%, 31.8%)
CIE-LABlab(31.69, 33.48, -61.99)
CIE-LCHlch(31.69, 70.46, 298.37°)
OKLaboklab(42.45% 0.0011 -0.1792)
OKLCHoklch(42.45% 0.179 270.3)
XYZxyz(10.3883, 6.9503, 40.8302)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DAE #AE9E2D
analogous
#2D7DAE #2D3DAE #5D2DAE
triadic
#2D3DAE #AE2D3D #3DAE2D
tetradic
#2D3DAE #AE2D7D #AE9E2D #2DAE5D
square
#2D3DAE #AE2D7D #AE9E2D #2DAE5D
split-complementary
#2D3DAE #AE5D2D #7DAE2D
monochromatic
#141B4D #202C7D #2D3DAE #4859D0 #7985DC

Accessibility & contrast

On white

8.79
#2D3DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D3DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DAE
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DAE#FFFFFF#000000##FFFFFF
##2D3DAE1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3dae;
/* rgb */ color: rgb(45, 61, 174);
/* oklch */ color: oklch(42.4% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#7972c7',
    500: '#2d3dae',
    950: '#000000',
  },
}
SCSS
$custom: #2d3dae;
$custom-light: #7972c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3dae",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 232.558,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.17922,
    "h": 270.3
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#2D3DAE
secondary
#C4BA72
accent
#CF46E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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