#2C37AE#2C37AE

#2C37AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.186 H 271.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2C37AE
RGBrgb(44, 55, 174)
HSLhsl(235, 60%, 43%)
HSVhsv(235, 75%, 68%)
CMYKcmyk(74.7%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.21, 37.18, -64.43)
CIE-LCHlch(30.21, 74.39, 299.99°)
OKLaboklab(41.36% 0.0037 -0.1864)
OKLCHoklch(41.36% 0.186 271.1)
XYZxyz(10.0423, 6.3228, 40.7274)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C37AE #AEA32C
analogous
#2C78AE #2C37AE #622CAE
triadic
#2C37AE #AE2C37 #37AE2C
tetradic
#2C37AE #AE2C78 #AEA32C #2CAE62
square
#2C37AE #AE2C78 #AEA32C #2CAE62
split-complementary
#2C37AE #AE622C #78AE2C
monochromatic
#13184C #20287D #2C37AE #4752D0 #7880DD

Accessibility & contrast

On white

9.27
#2C37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C37AE
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C37AE#FFFFFF#000000##FFFFFF
##2C37AE1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c37ae;
/* rgb */ color: rgb(44, 55, 174);
/* oklch */ color: oklch(41.4% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#796ec7',
    500: '#2c37ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c37ae;
$custom-light: #796ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c37ae",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 234.923,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.18642,
    "h": 271.1
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#2C37AE
secondary
#C5BE71
accent
#D545E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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