#2D37B8#2D37B8

#2D37B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.199 H 271.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2D37B8
RGBrgb(45, 55, 184)
HSLhsl(236, 61%, 45%)
HSVhsv(236, 76%, 72%)
CMYKcmyk(75.5%, 70.1%, 0%, 27.8%)
CIE-LABlab(31.23, 40.80, -68.70)
CIE-LCHlch(31.23, 79.90, 300.70°)
OKLaboklab(42.4% 0.0037 -0.1988)
OKLCHoklch(42.4% 0.199 271.1)
XYZxyz(11.0972, 6.7498, 46.0561)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D37B8 #B8AE2D
analogous
#2D7DB8 #2D37B8 #682DB8
triadic
#2D37B8 #B82D37 #37B82D
tetradic
#2D37B8 #B82D7D #B8AE2D #2DB868
square
#2D37B8 #B82D7D #B8AE2D #2DB868
split-complementary
#2D37B8 #B8682D #7DB82D
monochromatic
#151A56 #212887 #2D37B8 #4E58D4 #8086E0

Accessibility & contrast

On white

8.94
#2D37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D37B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D37B8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D37B8#FFFFFF#000000##FFFFFF
##2D37B81.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d37b8;
/* rgb */ color: rgb(45, 55, 184);
/* oklch */ color: oklch(42.4% 0.199 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c6ecf',
    500: '#2d37b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d37b8;
$custom-light: #7c6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d37b8",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 235.683,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42397,
    "c": 0.19887,
    "h": 271.1
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#2D37B8
secondary
#C9C378
accent
#D844E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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