#2D2CA4#2D2CA4

#2D2CA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.185 H 273.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2D2CA4
RGBrgb(45, 44, 164)
HSLhsl(241, 58%, 41%)
HSVhsv(241, 73%, 64%)
CMYKcmyk(72.6%, 73.2%, 0%, 35.7%)
CIE-LABlab(26.84, 40.50, -63.95)
CIE-LCHlch(26.84, 75.70, 302.35°)
OKLaboklab(38.65% 0.0124 -0.185)
OKLCHoklch(38.65% 0.185 273.8)
XYZxyz(8.6815, 5.0387, 35.6298)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA4 #A3A42C
analogous
#2C67A4 #2D2CA4 #692CA4
triadic
#2D2CA4 #A42D2C #2CA42D
tetradic
#2D2CA4 #A42C67 #A3A42C #2CA469
square
#2D2CA4 #A42C67 #A3A42C #2CA469
split-complementary
#2D2CA4 #A4692C #67A42C
monochromatic
#131243 #201F74 #2D2CA4 #4241CC #7271D9

Accessibility & contrast

On white

10.46
#2D2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CA4
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA4#FFFFFF#000000##FFFFFF
##2D2CA41.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d2ca4;
/* rgb */ color: rgb(45, 44, 164);
/* oklch */ color: oklch(38.6% 0.185 273.8);
Tailwind
colors: {
  custom: {
    50: '#7866c0',
    500: '#2d2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca4;
$custom-light: #7866c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca4",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 240.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3865,
    "c": 0.18537,
    "h": 273.8
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#2D2CA4
secondary
#C0C06B
accent
#E147E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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