#1D2074#1D2074

#1D2074 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.140 H 273.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1D2074
RGBrgb(29, 32, 116)
HSLhsl(238, 60%, 28%)
HSVhsv(238, 75%, 45%)
CMYKcmyk(75%, 72.4%, 0%, 54.5%)
CIE-LABlab(18.16, 29.15, -48.35)
CIE-LCHlch(18.16, 56.46, 301.08°)
OKLaboklab(30.66% 0.0073 -0.1398)
OKLCHoklch(30.66% 0.14 273)
XYZxyz(4.1745, 2.5548, 16.7927)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2074 #74711D
analogous
#1D4B74 #1D2074 #451D74
triadic
#1D2074 #741D20 #20741D
tetradic
#1D2074 #741D4B #74711D #1D7445
square
#1D2074 #741D4B #74711D #1D7445
split-complementary
#1D2074 #74451D #4B741D
monochromatic
#060718 #111243 #1D2074 #292EA5 #3D42CE

Accessibility & contrast

On white

13.90
#1D2074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D2074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2074
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2074#FFFFFF#000000##FFFFFF
##1D20741.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d2074;
/* rgb */ color: rgb(29, 32, 116);
/* oklch */ color: oklch(30.7% 0.140 273.0);
Tailwind
colors: {
  custom: {
    50: '#685c9d',
    500: '#1d2074',
    950: '#000000',
  },
}
SCSS
$custom: #1d2074;
$custom-light: #685c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2074",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 237.931,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30663,
    "c": 0.14001,
    "h": 273
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#1D2074
secondary
#A8A545
accent
#DE45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2074

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

Preview Lab → · Contrast checker → · Palette generator →

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