#1D3E8F#1D3E8F

#1D3E8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.140 H 264.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#1D3E8F
RGBrgb(29, 62, 143)
HSLhsl(223, 66%, 34%)
HSVhsv(223, 80%, 56%)
CMYKcmyk(79.7%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.61, 19.12, -48.26)
CIE-LCHlch(28.61, 51.91, 291.61°)
OKLaboklab(39.15% -0.0142 -0.1392)
OKLCHoklch(39.15% 0.14 264.2)
XYZxyz(7.1855, 5.6888, 26.7006)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E8F #8F6E1D
analogous
#1D778F #1D3E8F #351D8F
triadic
#1D3E8F #8F1D3E #3E8F1D
tetradic
#1D3E8F #8F1D77 #8F6E1D #1D8F35
square
#1D3E8F #8F1D77 #8F6E1D #1D8F35
split-complementary
#1D3E8F #8F351D #778F1D
monochromatic
#081229 #13285C #1D3E8F #2754C2 #4C75DB

Accessibility & contrast

On white

9.82
#1D3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D3E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E8F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E8F#FFFFFF#000000##FFFFFF
##1D3E8F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3e8f;
/* rgb */ color: rgb(29, 62, 143);
/* oklch */ color: oklch(39.1% 0.140 264.2);
Tailwind
colors: {
  custom: {
    50: '#6c72b0',
    500: '#1d3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e8f;
$custom-light: #6c72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e8f",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 222.632,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39146,
    "c": 0.13997,
    "h": 264.2
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#1D3E8F
secondary
#BD9C4B
accent
#B83FE9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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