#2C38AD#2C38AD

#2C38AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.184 H 271.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2C38AD
RGBrgb(44, 56, 173)
HSLhsl(234, 59%, 43%)
HSVhsv(234, 75%, 68%)
CMYKcmyk(74.6%, 67.6%, 0%, 32.2%)
CIE-LABlab(30.35, 36.20, -63.60)
CIE-LCHlch(30.35, 73.18, 299.65°)
OKLaboklab(41.43% 0.0032 -0.184)
OKLCHoklch(41.43% 0.184 271)
XYZxyz(9.9931, 6.3799, 40.2318)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C38AD #ADA12C
analogous
#2C78AD #2C38AD #612CAD
triadic
#2C38AD #AD2C38 #38AD2C
tetradic
#2C38AD #AD2C78 #ADA12C #2CAD61
square
#2C38AD #AD2C78 #ADA12C #2CAD61
split-complementary
#2C38AD #AD612C #78AD2C
monochromatic
#13184B #20287C #2C38AD #4653D0 #7780DC

Accessibility & contrast

On white

9.23
#2C38AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C38AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C38AD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C38AD#FFFFFF#000000##FFFFFF
##2C38AD1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c38ad;
/* rgb */ color: rgb(44, 56, 173);
/* oklch */ color: oklch(41.4% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#796fc7',
    500: '#2c38ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c38ad;
$custom-light: #796fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c38ad",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 234.419,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.18399,
    "h": 271
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#2C38AD
secondary
#C4BC71
accent
#D445E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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