#1D305D#1D305D

#1D305D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.084 H 264.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1D305D
RGBrgb(29, 48, 93)
HSLhsl(222, 52%, 24%)
HSVhsv(222, 69%, 36%)
CMYKcmyk(68.8%, 48.4%, 0%, 63.5%)
CIE-LABlab(20.69, 8.80, -29.25)
CIE-LCHlch(20.69, 30.55, 286.74°)
OKLaboklab(31.93% -0.0075 -0.0836)
OKLCHoklch(31.93% 0.084 264.8)
XYZxyz(3.5387, 3.1651, 10.7782)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D305D #5D4A1D
analogous
#1D505D #1D305D #2A1D5D
triadic
#1D305D #5D1D30 #305D1D
tetradic
#1D305D #5D1D50 #5D4A1D #1D5D2A
square
#1D305D #5D1D50 #5D4A1D #1D5D2A
split-complementary
#1D305D #5D2A1D #505D1D
monochromatic
#070C17 #0E182E #1D305D #2C488C #3A60BA

Accessibility & contrast

On white

12.86
#1D305D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D305D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D305D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D305D#FFFFFF#000000##FFFFFF
##1D305D1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A355F
Deuteranopia (green-blind)
#102F5C
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d305d;
/* rgb */ color: rgb(29, 48, 93);
/* oklch */ color: oklch(31.9% 0.084 264.8);
Tailwind
colors: {
  custom: {
    50: '#61678b',
    500: '#1d305d',
    950: '#000000',
  },
}
SCSS
$custom: #1d305d;
$custom-light: #61678b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d305d",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 222.188,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31934,
    "c": 0.08391,
    "h": 264.8
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#1D305D
secondary
#927B44
accent
#B14CDC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1D305D

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

Preview Lab → · Contrast checker → · Palette generator →

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