#1D306C#1D306C

#1D306C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.107 H 267.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#1D306C
RGBrgb(29, 48, 108)
HSLhsl(226, 58%, 27%)
HSVhsv(226, 73%, 42%)
CMYKcmyk(73.1%, 55.6%, 0%, 57.6%)
CIE-LABlab(21.79, 14.85, -37.27)
CIE-LCHlch(21.79, 40.12, 291.72°)
OKLaboklab(33.12% -0.0054 -0.1072)
OKLCHoklch(33.12% 0.107 267.1)
XYZxyz(4.2695, 3.4574, 14.6268)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D306C #6C591D
analogous
#1D586C #1D306C #321D6C
triadic
#1D306C #6C1D30 #306C1D
tetradic
#1D306C #6C1D58 #6C591D #1D6C32
square
#1D306C #6C1D58 #6C591D #1D6C32
split-complementary
#1D306C #6C321D #586C1D
monochromatic
#060B18 #101B3C #1D306C #2A459C #395CCA

Accessibility & contrast

On white

12.41
#1D306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D306C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D306C#FFFFFF#000000##FFFFFF
##1D306C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d306c;
/* rgb */ color: rgb(29, 48, 108);
/* oklch */ color: oklch(33.1% 0.107 267.1);
Tailwind
colors: {
  custom: {
    50: '#646797',
    500: '#1d306c',
    950: '#000000',
  },
}
SCSS
$custom: #1d306c;
$custom-light: #646797;
$custom-dark: #000000;
JSON
{
  "hex": "#1d306c",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 225.57,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33121,
    "c": 0.1073,
    "h": 267.1
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#1D306C
secondary
#A18A44
accent
#BC47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1D306C

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

Preview Lab → · Contrast checker → · Palette generator →

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