#1D46A8#1D46A8

#1D46A8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.164 H 263.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1D46A8
RGBrgb(29, 70, 168)
HSLhsl(222, 71%, 39%)
HSVhsv(222, 83%, 66%)
CMYKcmyk(82.7%, 58.3%, 0%, 34.1%)
CIE-LABlab(32.85, 23.60, -56.55)
CIE-LCHlch(32.85, 61.28, 292.66°)
OKLaboklab(42.97% -0.0181 -0.1634)
OKLCHoklch(42.97% 0.164 263.7)
XYZxyz(9.7622, 7.4675, 37.9651)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D46A8 #A87F1D
analogous
#1D8BA8 #1D46A8 #391DA8
triadic
#1D46A8 #A81D46 #46A81D
tetradic
#1D46A8 #A81D8B #A87F1D #1DA839
square
#1D46A8 #A81D8B #A87F1D #1DA839
split-complementary
#1D46A8 #A8391D #8BA81D
monochromatic
#0B1B40 #143074 #1D46A8 #285DDA #5C84E3

Accessibility & contrast

On white

8.42
#1D46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D46A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D46A8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D46A8#FFFFFF#000000##FFFFFF
##1D46A81.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d46a8;
/* rgb */ color: rgb(29, 70, 168);
/* oklch */ color: oklch(43.0% 0.164 263.7);
Tailwind
colors: {
  custom: {
    50: '#7278c3',
    500: '#1d46a8',
    950: '#000000',
  },
}
SCSS
$custom: #1d46a8;
$custom-light: #7278c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d46a8",
  "rgb": {
    "r": 29,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 222.302,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.16443,
    "h": 263.7
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#1D46A8
secondary
#C7A75A
accent
#B93AED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1D46A8

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

Preview Lab → · Contrast checker → · Palette generator →

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