#1D37A8#1D37A8

#1D37A8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.183 H 266.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1D37A8
RGBrgb(29, 55, 168)
HSLhsl(229, 71%, 39%)
HSVhsv(229, 83%, 66%)
CMYKcmyk(82.7%, 67.3%, 0%, 34.1%)
CIE-LABlab(28.95, 33.61, -62.92)
CIE-LCHlch(28.95, 71.34, 298.11°)
OKLaboklab(40.08% -0.0098 -0.1823)
OKLCHoklch(40.08% 0.183 266.9)
XYZxyz(8.9383, 5.8197, 37.6904)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D37A8 #A88E1D
analogous
#1D7CA8 #1D37A8 #481DA8
triadic
#1D37A8 #A81D37 #37A81D
tetradic
#1D37A8 #A81D7C #A88E1D #1DA848
square
#1D37A8 #A81D7C #A88E1D #1DA848
split-complementary
#1D37A8 #A8481D #7CA81D
monochromatic
#0B1540 #142674 #1D37A8 #2849DA #5C76E3

Accessibility & contrast

On white

9.70
#1D37A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1D37A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D37A8
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D37A8#FFFFFF#000000##FFFFFF
##1D37A81.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d37a8;
/* rgb */ color: rgb(29, 55, 168);
/* oklch */ color: oklch(40.1% 0.183 266.9);
Tailwind
colors: {
  custom: {
    50: '#736dc3',
    500: '#1d37a8',
    950: '#000000',
  },
}
SCSS
$custom: #1d37a8;
$custom-light: #736dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d37a8",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 228.777,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.18254,
    "h": 266.9
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#1D37A8
secondary
#C7B35A
accent
#CC3AED
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1D37A8

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

Preview Lab → · Contrast checker → · Palette generator →

#1D37A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva