#2D37AF#2D37AF

#2D37AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.187 H 271.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2D37AF
RGBrgb(45, 55, 175)
HSLhsl(235, 59%, 43%)
HSVhsv(235, 74%, 69%)
CMYKcmyk(74.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(30.36, 37.64, -64.78)
CIE-LCHlch(30.36, 74.92, 300.16°)
OKLaboklab(41.51% 0.0047 -0.1874)
OKLCHoklch(41.51% 0.187 271.4)
XYZxyz(10.1836, 6.3843, 41.2447)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D37AF #AFA52D
analogous
#2D78AF #2D37AF #642DAF
triadic
#2D37AF #AF2D37 #37AF2D
tetradic
#2D37AF #AF2D78 #AFA52D #2DAF64
square
#2D37AF #AF2D78 #AFA52D #2DAF64
split-complementary
#2D37AF #AF642D #78AF2D
monochromatic
#14184E #20287E #2D37AF #4953D0 #7A81DD

Accessibility & contrast

On white

9.22
#2D37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D37AF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D37AF#FFFFFF#000000##FFFFFF
##2D37AF1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d37af;
/* rgb */ color: rgb(45, 55, 175);
/* oklch */ color: oklch(41.5% 0.187 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a6ec8',
    500: '#2d37af',
    950: '#000000',
  },
}
SCSS
$custom: #2d37af;
$custom-light: #7a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d37af",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 235.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.18744,
    "h": 271.4
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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