#2C37B0#2C37B0

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

Color values

HEX#2C37B0
RGBrgb(44, 55, 176)
HSLhsl(235, 60%, 43%)
HSVhsv(235, 75%, 69%)
CMYKcmyk(75%, 68.8%, 0%, 31%)
CIE-LABlab(30.40, 37.89, -65.31)
CIE-LCHlch(30.40, 75.50, 300.12°)
OKLaboklab(41.55% 0.0035 -0.1889)
OKLCHoklch(41.55% 0.189 271.1)
XYZxyz(10.2387, 6.4014, 41.7619)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C37B0 #B0A52C
analogous
#2C79B0 #2C37B0 #632CB0
triadic
#2C37B0 #B02C37 #37B02C
tetradic
#2C37B0 #B02C79 #B0A52C #2CB063
square
#2C37B0 #B02C79 #B0A52C #2CB063
split-complementary
#2C37B0 #B0632C #79B02C
monochromatic
#14184E #20287F #2C37B0 #4853D1 #7981DD

Accessibility & contrast

On white

9.21
#2C37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C37B0
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C37B0#FFFFFF#000000##FFFFFF
##2C37B01.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c37b0;
/* rgb */ color: rgb(44, 55, 176);
/* oklch */ color: oklch(41.6% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a6ec9',
    500: '#2c37b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c37b0;
$custom-light: #7a6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c37b0",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 235,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.18898,
    "h": 271.1
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C37B0

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

Preview Lab → · Contrast checker → · Palette generator →

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