#2D2CA3#2D2CA3

#2D2CA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.184 H 273.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2D2CA3
RGBrgb(45, 44, 163)
HSLhsl(241, 57%, 41%)
HSVhsv(241, 73%, 64%)
CMYKcmyk(72.4%, 73%, 0%, 36.1%)
CIE-LABlab(26.74, 40.16, -63.51)
CIE-LCHlch(26.74, 75.14, 302.31°)
OKLaboklab(38.55% 0.0125 -0.1837)
OKLCHoklch(38.55% 0.184 273.9)
XYZxyz(8.5915, 5.0028, 35.1561)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CA3 #A2A32C
analogous
#2C66A3 #2D2CA3 #682CA3
triadic
#2D2CA3 #A32D2C #2CA32D
tetradic
#2D2CA3 #A32C66 #A2A32C #2CA368
square
#2D2CA3 #A32C66 #A2A32C #2CA368
split-complementary
#2D2CA3 #A3682C #66A32C
monochromatic
#121243 #201F73 #2D2CA3 #4241CC #7271D9

Accessibility & contrast

On white

10.50
#2D2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CA3
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CA3#FFFFFF#000000##FFFFFF
##2D2CA31.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2ca3;
/* rgb */ color: rgb(45, 44, 163);
/* oklch */ color: oklch(38.5% 0.184 273.9);
Tailwind
colors: {
  custom: {
    50: '#7866bf',
    500: '#2d2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ca3;
$custom-light: #7866bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ca3",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 240.504,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.18411,
    "h": 273.9
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#2D2CA3
secondary
#BFC06B
accent
#E147DF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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