#1D337C#1D337C

#1D337C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.127 H 266.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#1D337C
RGBrgb(29, 51, 124)
HSLhsl(226, 62%, 30%)
HSVhsv(226, 77%, 49%)
CMYKcmyk(76.6%, 58.9%, 0%, 51.4%)
CIE-LABlab(23.95, 19.17, -44.00)
CIE-LCHlch(23.95, 48.00, 293.54°)
OKLaboklab(35.15% -0.0069 -0.1269)
OKLCHoklch(35.15% 0.127 266.9)
XYZxyz(5.3273, 4.0835, 19.5723)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D337C #7C661D
analogous
#1D637C #1D337C #361D7C
triadic
#1D337C #7C1D33 #337C1D
tetradic
#1D337C #7C1D63 #7C661D #1D7C36
square
#1D337C #7C1D63 #7C661D #1D7C36
split-complementary
#1D337C #7C361D #637C1D
monochromatic
#060A19 #111F4A #1D337C #2947AE #4163D3

Accessibility & contrast

On white

11.56
#1D337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D337C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D337C#FFFFFF#000000##FFFFFF
##1D337C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d337c;
/* rgb */ color: rgb(29, 51, 124);
/* oklch */ color: oklch(35.1% 0.127 266.9);
Tailwind
colors: {
  custom: {
    50: '#686aa3',
    500: '#1d337c',
    950: '#000000',
  },
}
SCSS
$custom: #1d337c;
$custom-light: #686aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d337c",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 226.105,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.3515,
    "c": 0.12708,
    "h": 266.9
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#1D337C
secondary
#B09745
accent
#C043E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D337C

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

Preview Lab → · Contrast checker → · Palette generator →

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