#2C38AE#2C38AE

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

Color values

HEX#2C38AE
RGBrgb(44, 56, 174)
HSLhsl(234, 60%, 43%)
HSVhsv(234, 75%, 68%)
CMYKcmyk(74.7%, 67.8%, 0%, 31.8%)
CIE-LABlab(30.45, 36.56, -64.04)
CIE-LCHlch(30.45, 73.74, 299.72°)
OKLaboklab(41.52% 0.0031 -0.1853)
OKLCHoklch(41.52% 0.185 271)
XYZxyz(10.0903, 6.4187, 40.7434)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C38AE #AEA22C
analogous
#2C79AE #2C38AE #612CAE
triadic
#2C38AE #AE2C38 #38AE2C
tetradic
#2C38AE #AE2C79 #AEA22C #2CAE61
square
#2C38AE #AE2C79 #AEA22C #2CAE61
split-complementary
#2C38AE #AE612C #79AE2C
monochromatic
#13194C #20287D #2C38AE #4753D0 #7881DD

Accessibility & contrast

On white

9.19
#2C38AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C38AE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C38AE#FFFFFF#000000##FFFFFF
##2C38AE1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c38ae;
/* rgb */ color: rgb(44, 56, 174);
/* oklch */ color: oklch(41.5% 0.185 271.0);
Tailwind
colors: {
  custom: {
    50: '#796fc7',
    500: '#2c38ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c38ae;
$custom-light: #796fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c38ae",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 234.462,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.18529,
    "h": 271
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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