#2C37AF#2C37AF

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

Color values

HEX#2C37AF
RGBrgb(44, 55, 175)
HSLhsl(235, 60%, 43%)
HSVhsv(235, 75%, 69%)
CMYKcmyk(74.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(30.31, 37.54, -64.87)
CIE-LCHlch(30.31, 74.95, 300.06°)
OKLaboklab(41.45% 0.0036 -0.1877)
OKLCHoklch(41.45% 0.188 271.1)
XYZxyz(10.1401, 6.3619, 41.2427)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C37AF #AFA42C
analogous
#2C78AF #2C37AF #632CAF
triadic
#2C37AF #AF2C37 #37AF2C
tetradic
#2C37AF #AF2C78 #AFA42C #2CAF63
square
#2C37AF #AF2C78 #AFA42C #2CAF63
split-complementary
#2C37AF #AF632C #78AF2C
monochromatic
#13184D #20287E #2C37AF #4753D1 #7881DD

Accessibility & contrast

On white

9.24
#2C37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C37AF
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C37AF#FFFFFF#000000##FFFFFF
##2C37AF1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c37af;
/* rgb */ color: rgb(44, 55, 175);
/* oklch */ color: oklch(41.5% 0.188 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a6ec8',
    500: '#2c37af',
    950: '#000000',
  },
}
SCSS
$custom: #2c37af;
$custom-light: #7a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c37af",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 234.962,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.1877,
    "h": 271.1
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#2C37AF
secondary
#C5BE72
accent
#D645E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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