#2D37AE#2D37AE

#2D37AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.186 H 271.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2D37AE
RGBrgb(45, 55, 174)
HSLhsl(235, 59%, 43%)
HSVhsv(235, 74%, 68%)
CMYKcmyk(74.1%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.27, 37.29, -64.33)
CIE-LCHlch(30.27, 74.36, 300.10°)
OKLaboklab(41.41% 0.0048 -0.1861)
OKLCHoklch(41.41% 0.186 271.5)
XYZxyz(10.0858, 6.3452, 40.7294)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D37AE #AEA42D
analogous
#2D77AE #2D37AE #632DAE
triadic
#2D37AE #AE2D37 #37AE2D
tetradic
#2D37AE #AE2D77 #AEA42D #2DAE63
square
#2D37AE #AE2D77 #AEA42D #2DAE63
split-complementary
#2D37AE #AE632D #77AE2D
monochromatic
#14184D #20287D #2D37AE #4853D0 #7981DC

Accessibility & contrast

On white

9.25
#2D37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D37AE
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D37AE#FFFFFF#000000##FFFFFF
##2D37AE1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d37ae;
/* rgb */ color: rgb(45, 55, 174);
/* oklch */ color: oklch(41.4% 0.186 271.5);
Tailwind
colors: {
  custom: {
    50: '#7a6ec7',
    500: '#2d37ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d37ae;
$custom-light: #7a6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d37ae",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 235.349,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.18615,
    "h": 271.5
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#2D37AE
secondary
#C4BE72
accent
#D646E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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