#1D306F#1D306F

#1D306F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.112 H 267.4°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1D306F
RGBrgb(29, 48, 111)
HSLhsl(226, 59%, 27%)
HSVhsv(226, 74%, 44%)
CMYKcmyk(73.9%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.03, 16.06, -38.83)
CIE-LCHlch(22.03, 42.02, 292.47°)
OKLaboklab(33.37% -0.0052 -0.1117)
OKLCHoklch(33.37% 0.112 267.4)
XYZxyz(4.4319, 3.5224, 15.4822)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D306F #6F5C1D
analogous
#1D596F #1D306F #331D6F
triadic
#1D306F #6F1D30 #306F1D
tetradic
#1D306F #6F1D59 #6F5C1D #1D6F33
square
#1D306F #6F1D59 #6F5C1D #1D6F33
split-complementary
#1D306F #6F331D #596F1D
monochromatic
#060A18 #101B3E #1D306F #2A45A0 #3B5CCC

Accessibility & contrast

On white

12.32
#1D306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D306F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D306F#FFFFFF#000000##FFFFFF
##1D306F1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d306f;
/* rgb */ color: rgb(29, 48, 111);
/* oklch */ color: oklch(33.4% 0.112 267.4);
Tailwind
colors: {
  custom: {
    50: '#656799',
    500: '#1d306f',
    950: '#000000',
  },
}
SCSS
$custom: #1d306f;
$custom-light: #656799;
$custom-dark: #000000;
JSON
{
  "hex": "#1d306f",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 226.098,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33373,
    "c": 0.11185,
    "h": 267.4
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#1D306F
secondary
#A38D44
accent
#BE46E2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D306F

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

Preview Lab → · Contrast checker → · Palette generator →

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