#2D37B6#2D37B6

#2D37B6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.196 H 271.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2D37B6
RGBrgb(45, 55, 182)
HSLhsl(236, 60%, 45%)
HSVhsv(236, 75%, 71%)
CMYKcmyk(75.3%, 69.8%, 0%, 28.6%)
CIE-LABlab(31.04, 40.10, -67.84)
CIE-LCHlch(31.04, 78.80, 300.59°)
OKLaboklab(42.2% 0.0039 -0.1963)
OKLCHoklch(42.2% 0.196 271.1)
XYZxyz(10.8890, 6.6665, 44.9598)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D37B6 #B6AC2D
analogous
#2D7CB6 #2D37B6 #672DB6
triadic
#2D37B6 #B62D37 #37B62D
tetradic
#2D37B6 #B62D7C #B6AC2D #2DB667
square
#2D37B6 #B62D7C #B6AC2D #2DB667
split-complementary
#2D37B6 #B6672D #7CB62D
monochromatic
#151954 #212885 #2D37B6 #4D57D3 #7E85DF

Accessibility & contrast

On white

9.00
#2D37B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D37B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D37B6
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D37B6#FFFFFF#000000##FFFFFF
##2D37B61.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d37b6;
/* rgb */ color: rgb(45, 55, 182);
/* oklch */ color: oklch(42.2% 0.196 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c6ecd',
    500: '#2d37b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d37b6;
$custom-light: #7c6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d37b6",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 235.62,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.19635,
    "h": 271.1
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#2D37B6
secondary
#C8C277
accent
#D844E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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