#1D306E#1D306E

#1D306E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.110 H 267.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1D306E
RGBrgb(29, 48, 110)
HSLhsl(226, 58%, 27%)
HSVhsv(226, 74%, 43%)
CMYKcmyk(73.6%, 56.4%, 0%, 56.9%)
CIE-LABlab(21.95, 15.66, -38.31)
CIE-LCHlch(21.95, 41.39, 292.23°)
OKLaboklab(33.29% -0.0052 -0.1102)
OKLCHoklch(33.29% 0.11 267.3)
XYZxyz(4.3771, 3.5005, 15.1938)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D306E #6E5B1D
analogous
#1D596E #1D306E #331D6E
triadic
#1D306E #6E1D30 #306E1D
tetradic
#1D306E #6E1D59 #6E5B1D #1D6E33
square
#1D306E #6E1D59 #6E5B1D #1D6E33
split-complementary
#1D306E #6E331D #596E1D
monochromatic
#060B18 #101B3E #1D306E #2A459E #3A5CCB

Accessibility & contrast

On white

12.35
#1D306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D306E
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D306E#FFFFFF#000000##FFFFFF
##1D306E1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d306e;
/* rgb */ color: rgb(29, 48, 110);
/* oklch */ color: oklch(33.3% 0.110 267.3);
Tailwind
colors: {
  custom: {
    50: '#656798',
    500: '#1d306e',
    950: '#000000',
  },
}
SCSS
$custom: #1d306e;
$custom-light: #656798;
$custom-dark: #000000;
JSON
{
  "hex": "#1d306e",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 225.926,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.11033,
    "h": 267.3
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#1D306E
secondary
#A28C44
accent
#BD46E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1D306E

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

Preview Lab → · Contrast checker → · Palette generator →

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