#1D307A#1D307A

#1D307A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.128 H 267.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1D307A
RGBrgb(29, 48, 122)
HSLhsl(228, 62%, 30%)
HSVhsv(228, 76%, 48%)
CMYKcmyk(76.2%, 60.7%, 0%, 52.2%)
CIE-LABlab(22.93, 20.48, -44.39)
CIE-LCHlch(22.93, 48.89, 294.77°)
OKLaboklab(34.34% -0.0046 -0.1281)
OKLCHoklch(34.34% 0.128 267.9)
XYZxyz(5.0753, 3.7797, 18.8707)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D307A #7A671D
analogous
#1D5F7A #1D307A #391D7A
triadic
#1D307A #7A1D30 #307A1D
tetradic
#1D307A #7A1D5F #7A671D #1D7A39
square
#1D307A #7A1D5F #7A671D #1D7A39
split-complementary
#1D307A #7A391D #5F7A1D
monochromatic
#060A19 #111D49 #1D307A #2943AB #405ED2

Accessibility & contrast

On white

11.96
#1D307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D307A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D307A#FFFFFF#000000##FFFFFF
##1D307A1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d307a;
/* rgb */ color: rgb(29, 48, 122);
/* oklch */ color: oklch(34.3% 0.128 267.9);
Tailwind
colors: {
  custom: {
    50: '#6868a1',
    500: '#1d307a',
    950: '#000000',
  },
}
SCSS
$custom: #1d307a;
$custom-light: #6868a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d307a",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 227.742,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34336,
    "c": 0.12816,
    "h": 267.9
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#1D307A
secondary
#AE9845
accent
#C443E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D307A

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

Preview Lab → · Contrast checker → · Palette generator →

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