#2D2CA6#2D2CA6

#2D2CA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.188 H 273.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2D2CA6
RGBrgb(45, 44, 166)
HSLhsl(240, 58%, 41%)
HSVhsv(240, 73%, 65%)
CMYKcmyk(72.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.05, 41.18, -64.82)
CIE-LCHlch(27.05, 76.79, 302.43°)
OKLaboklab(38.86% 0.012 -0.1875)
OKLCHoklch(38.86% 0.188 273.7)
XYZxyz(8.8635, 5.1115, 36.5885)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA6 #A5A62C
analogous
#2C68A6 #2D2CA6 #6A2CA6
triadic
#2D2CA6 #A62D2C #2CA62D
tetradic
#2D2CA6 #A62C68 #A5A62C #2CA66A
square
#2D2CA6 #A62C68 #A5A62C #2CA66A
split-complementary
#2D2CA6 #A66A2C #68A62C
monochromatic
#131245 #201F76 #2D2CA6 #4342CD #7373DA

Accessibility & contrast

On white

10.38
#2D2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CA6
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA6#FFFFFF#000000##FFFFFF
##2D2CA61.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d2ca6;
/* rgb */ color: rgb(45, 44, 166);
/* oklch */ color: oklch(38.9% 0.188 273.7);
Tailwind
colors: {
  custom: {
    50: '#7967c2',
    500: '#2d2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca6;
$custom-light: #7967c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca6",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 240.492,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.18788,
    "h": 273.7
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#2D2CA6
secondary
#C1C16D
accent
#E146E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #2D2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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