#2D2CA9#2D2CA9

#2D2CA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.192 H 273.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2D2CA9
RGBrgb(45, 44, 169)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 66%)
CMYKcmyk(73.4%, 74%, 0%, 33.7%)
CIE-LABlab(27.36, 42.19, -66.12)
CIE-LCHlch(27.36, 78.43, 302.54°)
OKLaboklab(39.17% 0.0115 -0.1913)
OKLCHoklch(39.17% 0.192 273.4)
XYZxyz(9.1419, 5.2229, 38.0548)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA9 #A8A92C
analogous
#2C6AA9 #2D2CA9 #6C2CA9
triadic
#2D2CA9 #A92D2C #2CA92D
tetradic
#2D2CA9 #A92C6A #A8A92C #2CA96C
square
#2D2CA9 #A92C6A #A8A92C #2CA96C
split-complementary
#2D2CA9 #A96C2C #6AA92C
monochromatic
#131348 #201F78 #2D2CA9 #4544CE #7574DB

Accessibility & contrast

On white

10.27
#2D2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CA9
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA9#FFFFFF#000000##FFFFFF
##2D2CA91.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d2ca9;
/* rgb */ color: rgb(45, 44, 169);
/* oklch */ color: oklch(39.2% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a67c4',
    500: '#2d2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca9;
$custom-light: #7a67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca9",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 240.48,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39172,
    "c": 0.19162,
    "h": 273.4
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#2D2CA9
secondary
#C2C36E
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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