#2C37BF#2C37BF

#2C37BF is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.1% C 0.208 H 270.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2C37BF
RGBrgb(44, 55, 191)
HSLhsl(236, 63%, 46%)
HSVhsv(236, 77%, 75%)
CMYKcmyk(77%, 71.2%, 0%, 25.1%)
CIE-LABlab(31.87, 43.13, -71.78)
CIE-LCHlch(31.87, 83.74, 301.00°)
OKLaboklab(43.05% 0.0018 -0.2078)
OKLCHoklch(43.05% 0.208 270.5)
XYZxyz(11.8057, 7.0281, 50.0145)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C37BF #BFB42C
analogous
#2C80BF #2C37BF #6A2CBF
triadic
#2C37BF #BF2C37 #37BF2C
tetradic
#2C37BF #BF2C80 #BFB42C #2CBF6A
square
#2C37BF #BF2C80 #BFB42C #2CBF6A
split-complementary
#2C37BF #BF6A2C #80BF2C
monochromatic
#151A5C #21298D #2C37BF #515BD7 #838AE2

Accessibility & contrast

On white

8.73
#2C37BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C37BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C37BF
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C37BF#FFFFFF#000000##FFFFFF
##2C37BF1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0044BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c37bf;
/* rgb */ color: rgb(44, 55, 191);
/* oklch */ color: oklch(43.1% 0.208 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e6fd4',
    500: '#2c37bf',
    950: '#000000',
  },
}
SCSS
$custom: #2c37bf;
$custom-light: #7e6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c37bf",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 235.51,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.20784,
    "h": 270.5
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#2C37BF
secondary
#CCC67B
accent
#D942E6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2C37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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