#2D37B3#2D37B3

#2D37B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.193 H 271.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2D37B3
RGBrgb(45, 55, 179)
HSLhsl(236, 60%, 44%)
HSVhsv(236, 75%, 70%)
CMYKcmyk(74.9%, 69.3%, 0%, 29.8%)
CIE-LABlab(30.74, 39.05, -66.53)
CIE-LCHlch(30.74, 77.14, 300.41°)
OKLaboklab(41.9% 0.0042 -0.1925)
OKLCHoklch(41.9% 0.193 271.3)
XYZxyz(10.5823, 6.5438, 43.3445)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D37B3 #B3A92D
analogous
#2D7AB3 #2D37B3 #662DB3
triadic
#2D37B3 #B32D37 #37B32D
tetradic
#2D37B3 #B32D7A #B3A92D #2DB366
square
#2D37B3 #B32D7A #B3A92D #2DB366
split-complementary
#2D37B3 #B3662D #7AB32D
monochromatic
#141951 #212882 #2D37B3 #4B55D2 #7C84DE

Accessibility & contrast

On white

9.09
#2D37B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D37B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D37B3
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D37B3#FFFFFF#000000##FFFFFF
##2D37B31.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d37b3;
/* rgb */ color: rgb(45, 55, 179);
/* oklch */ color: oklch(41.9% 0.193 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b6ecb',
    500: '#2d37b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d37b3;
$custom-light: #7b6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d37b3",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 235.522,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.419,
    "c": 0.19256,
    "h": 271.3
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#2D37B3
secondary
#C7C075
accent
#D745E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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