#1D3FA0#1D3FA0

#1D3FA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.162 H 265.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1D3FA0
RGBrgb(29, 63, 160)
HSLhsl(224, 69%, 37%)
HSVhsv(224, 82%, 63%)
CMYKcmyk(81.9%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.29, 25.19, -55.91)
CIE-LCHlch(30.29, 61.32, 294.26°)
OKLaboklab(40.84% -0.014 -0.1617)
OKLCHoklch(40.84% 0.162 265)
XYZxyz(8.6271, 6.3533, 34.0225)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3FA0 #A07E1D
analogous
#1D81A0 #1D3FA0 #3C1DA0
triadic
#1D3FA0 #A01D3F #3FA01D
tetradic
#1D3FA0 #A01D81 #A07E1D #1DA03C
square
#1D3FA0 #A01D81 #A07E1D #1DA03C
split-complementary
#1D3FA0 #A03C1D #81A01D
monochromatic
#0A1638 #142B6C #1D3FA0 #2653D4 #577BE1

Accessibility & contrast

On white

9.25
#1D3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1D3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D3FA0#FFFFFF#000000##FFFFFF
##1D3FA01.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)
#004EA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d3fa0;
/* rgb */ color: rgb(29, 63, 160);
/* oklch */ color: oklch(40.8% 0.162 265.0);
Tailwind
colors: {
  custom: {
    50: '#7073bd',
    500: '#1d3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1d3fa0;
$custom-light: #7073bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3fa0",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 224.427,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.16229,
    "h": 265
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#1D3FA0
secondary
#C4A755
accent
#BE3CEC
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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