#2C37C7#2C37C7

#2C37C7 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.9% C 0.218 H 270.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2C37C7
RGBrgb(44, 55, 199)
HSLhsl(236, 64%, 48%)
HSVhsv(236, 78%, 78%)
CMYKcmyk(77.9%, 72.4%, 0%, 22%)
CIE-LABlab(32.68, 45.87, -75.14)
CIE-LCHlch(32.68, 88.03, 301.40°)
OKLaboklab(43.87% 0.0007 -0.2176)
OKLCHoklch(43.87% 0.218 270.2)
XYZxyz(12.7102, 7.3899, 54.7783)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C37C7 #C7BC2C
analogous
#2C84C7 #2C37C7 #6F2CC7
triadic
#2C37C7 #C72C37 #37C72C
tetradic
#2C37C7 #C72C84 #C7BC2C #2CC76F
square
#2C37C7 #C72C84 #C7BC2C #2CC76F
split-complementary
#2C37C7 #C76F2C #84C72C
monochromatic
#161B63 #212995 #2C37C7 #5660DA #898FE5

Accessibility & contrast

On white

8.47
#2C37C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C37C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C37C7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C37C7#FFFFFF#000000##FFFFFF
##2C37C71.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#0045C4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c37c7;
/* rgb */ color: rgb(44, 55, 199);
/* oklch */ color: oklch(43.9% 0.218 270.2);
Tailwind
colors: {
  custom: {
    50: '#806fd9',
    500: '#2c37c7',
    950: '#000000',
  },
}
SCSS
$custom: #2c37c7;
$custom-light: #806fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c37c7",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 235.742,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.21761,
    "h": 270.2
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#2C37C7
secondary
#CFC980
accent
#DB41E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2C37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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