#1D306A#1D306A

#1D306A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.104 H 266.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#1D306A
RGBrgb(29, 48, 106)
HSLhsl(225, 57%, 26%)
HSVhsv(225, 73%, 42%)
CMYKcmyk(72.6%, 54.7%, 0%, 58.4%)
CIE-LABlab(21.64, 14.04, -36.23)
CIE-LCHlch(21.64, 38.86, 291.19°)
OKLaboklab(32.96% -0.0056 -0.1041)
OKLCHoklch(32.96% 0.104 266.9)
XYZxyz(4.1643, 3.4153, 14.0726)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D306A #6A571D
analogous
#1D576A #1D306A #311D6A
triadic
#1D306A #6A1D30 #306A1D
tetradic
#1D306A #6A1D57 #6A571D #1D6A31
square
#1D306A #6A1D57 #6A571D #1D6A31
split-complementary
#1D306A #6A311D #576A1D
monochromatic
#070B18 #101A3A #1D306A #2A469A #395CC9

Accessibility & contrast

On white

12.48
#1D306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D306A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D306A#FFFFFF#000000##FFFFFF
##1D306A1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B386C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d306a;
/* rgb */ color: rgb(29, 48, 106);
/* oklch */ color: oklch(33.0% 0.104 266.9);
Tailwind
colors: {
  custom: {
    50: '#646795',
    500: '#1d306a',
    950: '#000000',
  },
}
SCSS
$custom: #1d306a;
$custom-light: #646795;
$custom-dark: #000000;
JSON
{
  "hex": "#1d306a",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 225.195,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32955,
    "c": 0.10424,
    "h": 266.9
  },
  "luminance": 0.03416
}

Semantic roles & 50–950 ramp

primary
#1D306A
secondary
#9F8844
accent
#BB48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D306A

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

Preview Lab → · Contrast checker → · Palette generator →

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