#2C37BD#2C37BD

#2C37BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.8% C 0.205 H 270.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2C37BD
RGBrgb(44, 55, 189)
HSLhsl(235, 62%, 46%)
HSVhsv(235, 77%, 74%)
CMYKcmyk(76.7%, 70.9%, 0%, 25.9%)
CIE-LABlab(31.67, 42.44, -70.93)
CIE-LCHlch(31.67, 82.66, 300.89°)
OKLaboklab(42.85% 0.002 -0.2054)
OKLCHoklch(42.85% 0.205 270.6)
XYZxyz(11.5871, 6.9407, 48.8633)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C37BD #BDB22C
analogous
#2C7FBD #2C37BD #692CBD
triadic
#2C37BD #BD2C37 #37BD2C
tetradic
#2C37BD #BD2C7F #BDB22C #2CBD69
square
#2C37BD #BD2C7F #BDB22C #2CBD69
split-complementary
#2C37BD #BD692C #7FBD2C
monochromatic
#151A5A #20298B #2C37BD #505AD6 #8289E2

Accessibility & contrast

On white

8.79
#2C37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C37BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C37BD
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C37BD#FFFFFF#000000##FFFFFF
##2C37BD1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c37bd;
/* rgb */ color: rgb(44, 55, 189);
/* oklch */ color: oklch(42.8% 0.205 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d6fd2',
    500: '#2c37bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c37bd;
$custom-light: #7d6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c37bd",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 235.448,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.20537,
    "h": 270.6
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#2C37BD
secondary
#CBC57A
accent
#D942E5
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2C37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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