#2D3DAC#2D3DAC

#2D3DAC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.177 H 270.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2D3DAC
RGBrgb(45, 61, 172)
HSLhsl(232, 59%, 43%)
HSVhsv(232, 74%, 67%)
CMYKcmyk(73.8%, 64.5%, 0%, 32.5%)
CIE-LABlab(31.52, 32.76, -61.09)
CIE-LCHlch(31.52, 69.32, 298.20°)
OKLaboklab(42.27% 0.0012 -0.1766)
OKLCHoklch(42.27% 0.177 270.4)
XYZxyz(10.1948, 6.8729, 39.8110)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3DAC #AC9C2D
analogous
#2D7CAC #2D3DAC #5D2DAC
triadic
#2D3DAC #AC2D3D #3DAC2D
tetradic
#2D3DAC #AC2D7C #AC9C2D #2DAC5D
square
#2D3DAC #AC2D7C #AC9C2D #2DAC5D
split-complementary
#2D3DAC #AC5D2D #7CAC2D
monochromatic
#141B4B #202C7B #2D3DAC #4758CF #7884DC

Accessibility & contrast

On white

8.84
#2D3DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D3DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3DAC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3DAC#FFFFFF#000000##FFFFFF
##2D3DAC1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3dac;
/* rgb */ color: rgb(45, 61, 172);
/* oklch */ color: oklch(42.3% 0.177 270.4);
Tailwind
colors: {
  custom: {
    50: '#7972c6',
    500: '#2d3dac',
    950: '#000000',
  },
}
SCSS
$custom: #2d3dac;
$custom-light: #7972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3dac",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 232.441,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.17657,
    "h": 270.4
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#2D3DAC
secondary
#C4B971
accent
#CE46E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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