#1D1A73#1D1A73

#1D1A73 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.145 H 274.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#1D1A73
RGBrgb(29, 26, 115)
HSLhsl(242, 63%, 28%)
HSVhsv(242, 77%, 45%)
CMYKcmyk(74.8%, 77.4%, 0%, 54.9%)
CIE-LABlab(16.69, 32.58, -50.14)
CIE-LCHlch(16.69, 59.80, 303.02°)
OKLaboklab(29.57% 0.011 -0.145)
OKLCHoklch(29.57% 0.145 274.4)
XYZxyz(3.9696, 2.2374, 16.4390)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A73 #70731A
analogous
#1A4473 #1D1A73 #491A73
triadic
#1D1A73 #731D1A #1A731D
tetradic
#1D1A73 #731A44 #70731A #1A7349
square
#1D1A73 #731A44 #70731A #1A7349
split-complementary
#1D1A73 #73491A #44731A
monochromatic
#060619 #100F41 #1D1A73 #2A25A5 #3B36D2

Accessibility & contrast

On white

14.51
#1D1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1D1A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A73
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A73#FFFFFF#000000##FFFFFF
##1D1A731.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1a73;
/* rgb */ color: rgb(29, 26, 115);
/* oklch */ color: oklch(29.6% 0.145 274.4);
Tailwind
colors: {
  custom: {
    50: '#68589c',
    500: '#1d1a73',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a73;
$custom-light: #68589c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a73",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 242.022,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29574,
    "c": 0.14543,
    "h": 274.4
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#1D1A73
secondary
#A4A841
accent
#E642E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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