#1D3074#1D3074

#1D3074 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.119 H 267.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1D3074
RGBrgb(29, 48, 116)
HSLhsl(227, 60%, 28%)
HSVhsv(227, 75%, 45%)
CMYKcmyk(75%, 58.6%, 0%, 54.5%)
CIE-LABlab(22.43, 18.08, -41.38)
CIE-LCHlch(22.43, 45.16, 293.60°)
OKLaboklab(33.8% -0.0048 -0.1192)
OKLCHoklch(33.8% 0.119 267.7)
XYZxyz(4.7149, 3.6356, 16.9729)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3074 #74611D
analogous
#1D5B74 #1D3074 #351D74
triadic
#1D3074 #741D30 #30741D
tetradic
#1D3074 #741D5B #74611D #1D7435
square
#1D3074 #741D5B #74611D #1D7435
split-complementary
#1D3074 #74351D #5B741D
monochromatic
#060A18 #111C43 #1D3074 #2944A5 #3D5DCE

Accessibility & contrast

On white

12.16
#1D3074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D3074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3074
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3074#FFFFFF#000000##FFFFFF
##1D30741.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d3074;
/* rgb */ color: rgb(29, 48, 116);
/* oklch */ color: oklch(33.8% 0.119 267.7);
Tailwind
colors: {
  custom: {
    50: '#66679d',
    500: '#1d3074',
    950: '#000000',
  },
}
SCSS
$custom: #1d3074;
$custom-light: #66679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3074",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 226.897,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33804,
    "c": 0.11934,
    "h": 267.7
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#1D3074
secondary
#A89245
accent
#C145E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D3074

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

Preview Lab → · Contrast checker → · Palette generator →

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