#1D1975#1D1975

#1D1975 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.149 H 274.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#1D1975
RGBrgb(29, 25, 117)
HSLhsl(243, 65%, 28%)
HSVhsv(243, 79%, 46%)
CMYKcmyk(75.2%, 78.6%, 0%, 54.1%)
CIE-LABlab(16.70, 33.89, -51.41)
CIE-LCHlch(16.70, 61.57, 303.39°)
OKLaboklab(29.65% 0.0111 -0.1487)
OKLCHoklch(29.65% 0.149 274.3)
XYZxyz(4.0641, 2.2404, 17.0444)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1975 #717519
analogous
#194375 #1D1975 #4B1975
triadic
#1D1975 #751D19 #19751D
tetradic
#1D1975 #751943 #717519 #19754B
square
#1D1975 #751943 #717519 #19754B
split-complementary
#1D1975 #754B19 #437519
monochromatic
#060519 #110E43 #1D1975 #2924A7 #3C35D4

Accessibility & contrast

On white

14.50
#1D1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1975
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1975#FFFFFF#000000##FFFFFF
##1D19751.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1975;
/* rgb */ color: rgb(29, 25, 117);
/* oklch */ color: oklch(29.7% 0.149 274.3);
Tailwind
colors: {
  custom: {
    50: '#69579e',
    500: '#1d1975',
    950: '#000000',
  },
}
SCSS
$custom: #1d1975;
$custom-light: #69579e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1975",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 242.609,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29651,
    "c": 0.14911,
    "h": 274.3
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#1D1975
secondary
#A5AA40
accent
#E840E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1975

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

Preview Lab → · Contrast checker → · Palette generator →

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