#1D1A75#1D1A75

#1D1A75 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.148 H 274.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#1D1A75
RGBrgb(29, 26, 117)
HSLhsl(242, 64%, 28%)
HSVhsv(242, 78%, 46%)
CMYKcmyk(75.2%, 77.8%, 0%, 54.1%)
CIE-LABlab(16.91, 33.29, -51.06)
CIE-LCHlch(16.91, 60.95, 303.11°)
OKLaboklab(29.8% 0.0106 -0.1477)
OKLCHoklch(29.8% 0.148 274.1)
XYZxyz(4.0859, 2.2839, 17.0517)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A75 #72751A
analogous
#1A4475 #1D1A75 #4A1A75
triadic
#1D1A75 #751D1A #1A751D
tetradic
#1D1A75 #751A44 #72751A #1A754A
square
#1D1A75 #751A44 #72751A #1A754A
split-complementary
#1D1A75 #754A1A #44751A
monochromatic
#060619 #110F43 #1D1A75 #2925A7 #3C37D3

Accessibility & contrast

On white

14.42
#1D1A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D1A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A75
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A75#FFFFFF#000000##FFFFFF
##1D1A751.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d1a75;
/* rgb */ color: rgb(29, 26, 117);
/* oklch */ color: oklch(29.8% 0.148 274.1);
Tailwind
colors: {
  custom: {
    50: '#69589e',
    500: '#1d1a75',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a75;
$custom-light: #69589e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a75",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 241.978,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.298,
    "c": 0.14807,
    "h": 274.1
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#1D1A75
secondary
#A6AA41
accent
#E741E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1A75

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

Preview Lab → · Contrast checker → · Palette generator →

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