#2D3CAA#2D3CAA

#2D3CAA is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.175 H 270.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2D3CAA
RGBrgb(45, 60, 170)
HSLhsl(233, 58%, 42%)
HSVhsv(233, 74%, 67%)
CMYKcmyk(73.5%, 64.7%, 0%, 33.3%)
CIE-LABlab(31.09, 32.67, -60.59)
CIE-LCHlch(31.09, 68.83, 298.34°)
OKLaboklab(41.9% 0.0019 -0.1751)
OKLCHoklch(41.9% 0.175 270.6)
XYZxyz(9.9513, 6.6909, 38.7894)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3CAA #AA9B2D
analogous
#2D7BAA #2D3CAA #5D2DAA
triadic
#2D3CAA #AA2D3C #3CAA2D
tetradic
#2D3CAA #AA2D7B #AA9B2D #2DAA5D
square
#2D3CAA #AA2D7B #AA9B2D #2DAA5D
split-complementary
#2D3CAA #AA5D2D #7BAA2D
monochromatic
#131A49 #202B7A #2D3CAA #4656CE #7783DB

Accessibility & contrast

On white

8.98
#2D3CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D3CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3CAA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3CAA#FFFFFF#000000##FFFFFF
##2D3CAA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d3caa;
/* rgb */ color: rgb(45, 60, 170);
/* oklch */ color: oklch(41.9% 0.175 270.6);
Tailwind
colors: {
  custom: {
    50: '#7871c4',
    500: '#2d3caa',
    950: '#000000',
  },
}
SCSS
$custom: #2d3caa;
$custom-light: #7871c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3caa",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 232.8,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.17511,
    "h": 270.6
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#2D3CAA
secondary
#C3B970
accent
#CF46E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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