#1D307B#1D307B

#1D307B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.130 H 268.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#1D307B
RGBrgb(29, 48, 123)
HSLhsl(228, 62%, 30%)
HSVhsv(228, 76%, 48%)
CMYKcmyk(76.4%, 61%, 0%, 51.8%)
CIE-LABlab(23.01, 20.88, -44.88)
CIE-LCHlch(23.01, 49.50, 294.95°)
OKLaboklab(34.43% -0.0046 -0.1295)
OKLCHoklch(34.43% 0.13 268)
XYZxyz(5.1376, 3.8046, 19.1987)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D307B #7B681D
analogous
#1D5F7B #1D307B #391D7B
triadic
#1D307B #7B1D30 #307B1D
tetradic
#1D307B #7B1D5F #7B681D #1D7B39
square
#1D307B #7B1D5F #7B681D #1D7B39
split-complementary
#1D307B #7B391D #5F7B1D
monochromatic
#060A19 #111D49 #1D307B #2943AD #405ED2

Accessibility & contrast

On white

11.93
#1D307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D307B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D307B#FFFFFF#000000##FFFFFF
##1D307B1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d307b;
/* rgb */ color: rgb(29, 48, 123);
/* oklch */ color: oklch(34.4% 0.130 268.0);
Tailwind
colors: {
  custom: {
    50: '#6868a2',
    500: '#1d307b',
    950: '#000000',
  },
}
SCSS
$custom: #1d307b;
$custom-light: #6868a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d307b",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 227.872,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.12961,
    "h": 268
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D307B

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

Preview Lab → · Contrast checker → · Palette generator →

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