#2D37B2#2D37B2

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

Color values

HEX#2D37B2
RGBrgb(45, 55, 178)
HSLhsl(235, 60%, 44%)
HSVhsv(235, 75%, 70%)
CMYKcmyk(74.7%, 69.1%, 0%, 30.2%)
CIE-LABlab(30.65, 38.70, -66.09)
CIE-LCHlch(30.65, 76.59, 300.35°)
OKLaboklab(41.8% 0.0043 -0.1912)
OKLCHoklch(41.8% 0.191 271.3)
XYZxyz(10.4815, 6.5035, 42.8138)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D37B2 #B2A82D
analogous
#2D79B2 #2D37B2 #652DB2
triadic
#2D37B2 #B22D37 #37B22D
tetradic
#2D37B2 #B22D79 #B2A82D #2DB265
square
#2D37B2 #B22D79 #B2A82D #2DB265
split-complementary
#2D37B2 #B2652D #79B22D
monochromatic
#141950 #212881 #2D37B2 #4B55D1 #7C83DE

Accessibility & contrast

On white

9.13
#2D37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D37B2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D37B2#FFFFFF#000000##FFFFFF
##2D37B21.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d37b2;
/* rgb */ color: rgb(45, 55, 178);
/* oklch */ color: oklch(41.8% 0.191 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b6eca',
    500: '#2d37b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d37b2;
$custom-light: #7b6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d37b2",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 235.489,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41802,
    "c": 0.19128,
    "h": 271.3
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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