#2D3CAC#2D3CAC

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

Color values

HEX#2D3CAC
RGBrgb(45, 60, 172)
HSLhsl(233, 59%, 43%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(73.8%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.27, 33.40, -61.49)
CIE-LCHlch(31.27, 69.98, 298.51°)
OKLaboklab(42.09% 0.0018 -0.1777)
OKLCHoklch(42.09% 0.178 270.6)
XYZxyz(10.1419, 6.7671, 39.7934)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CAC #AC9D2D
analogous
#2D7CAC #2D3CAC #5D2DAC
triadic
#2D3CAC #AC2D3C #3CAC2D
tetradic
#2D3CAC #AC2D7C #AC9D2D #2DAC5D
square
#2D3CAC #AC2D7C #AC9D2D #2DAC5D
split-complementary
#2D3CAC #AC5D2D #7CAC2D
monochromatic
#141A4B #202B7B #2D3CAC #4757CF #7884DC

Accessibility & contrast

On white

8.92
#2D3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CAC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CAC#FFFFFF#000000##FFFFFF
##2D3CAC1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3cac;
/* rgb */ color: rgb(45, 60, 172);
/* oklch */ color: oklch(42.1% 0.178 270.6);
Tailwind
colors: {
  custom: {
    50: '#7972c6',
    500: '#2d3cac',
    950: '#000000',
  },
}
SCSS
$custom: #2d3cac;
$custom-light: #7972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3cac",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 232.913,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.17776,
    "h": 270.6
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#2D3CAC
secondary
#C4BA71
accent
#CF46E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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