#2C37B2#2C37B2

#2C37B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.192 H 271.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2C37B2
RGBrgb(44, 55, 178)
HSLhsl(235, 60%, 44%)
HSVhsv(235, 75%, 70%)
CMYKcmyk(75.3%, 69.1%, 0%, 30.2%)
CIE-LABlab(30.60, 38.60, -66.18)
CIE-LCHlch(30.60, 76.62, 300.25°)
OKLaboklab(41.75% 0.0033 -0.1915)
OKLCHoklch(41.75% 0.192 271)
XYZxyz(10.4380, 6.4811, 42.8117)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C37B2 #B2A72C
analogous
#2C7AB2 #2C37B2 #642CB2
triadic
#2C37B2 #B22C37 #37B22C
tetradic
#2C37B2 #B22C7A #B2A72C #2CB264
square
#2C37B2 #B22C7A #B2A72C #2CB264
split-complementary
#2C37B2 #B2642C #7AB22C
monochromatic
#141950 #202881 #2C37B2 #4954D2 #7A82DE

Accessibility & contrast

On white

9.14
#2C37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C37B2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C37B2#FFFFFF#000000##FFFFFF
##2C37B21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c37b2;
/* rgb */ color: rgb(44, 55, 178);
/* oklch */ color: oklch(41.7% 0.192 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a6eca',
    500: '#2c37b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c37b2;
$custom-light: #7a6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c37b2",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 235.075,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.19154,
    "h": 271
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#2C37B2
secondary
#C6C073
accent
#D644E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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