#1D305A#1D305A

#1D305A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.079 H 264.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1D305A
RGBrgb(29, 48, 90)
HSLhsl(221, 51%, 23%)
HSVhsv(221, 68%, 35%)
CMYKcmyk(67.8%, 46.7%, 0%, 64.7%)
CIE-LABlab(20.49, 7.60, -27.60)
CIE-LCHlch(20.49, 28.62, 285.39°)
OKLaboklab(31.71% -0.0081 -0.0787)
OKLCHoklch(31.71% 0.079 264.1)
XYZxyz(3.4085, 3.1130, 10.0921)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D305A #5A471D
analogous
#1D4E5A #1D305A #281D5A
triadic
#1D305A #5A1D30 #305A1D
tetradic
#1D305A #5A1D4E #5A471D #1D5A28
square
#1D305A #5A1D4E #5A471D #1D5A28
split-complementary
#1D305A #5A281D #4E5A1D
monochromatic
#070C17 #0E172C #1D305A #2C4988 #3B61B7

Accessibility & contrast

On white

12.94
#1D305A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D305A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D305A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D305A#FFFFFF#000000##FFFFFF
##1D305A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345C
Deuteranopia (green-blind)
#132F59
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d305a;
/* rgb */ color: rgb(29, 48, 90);
/* oklch */ color: oklch(31.7% 0.079 264.1);
Tailwind
colors: {
  custom: {
    50: '#606789',
    500: '#1d305a',
    950: '#000000',
  },
}
SCSS
$custom: #1d305a;
$custom-light: #606789;
$custom-dark: #000000;
JSON
{
  "hex": "#1d305a",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 221.311,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31713,
    "c": 0.07912,
    "h": 264.1
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#1D305A
secondary
#8F7844
accent
#AF4DDB
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1D305A

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

Preview Lab → · Contrast checker → · Palette generator →

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