#1D1875#1D1875

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

Color values

HEX#1D1875
RGBrgb(29, 24, 117)
HSLhsl(243, 66%, 28%)
HSVhsv(243, 79%, 46%)
CMYKcmyk(75.2%, 79.5%, 0%, 54.1%)
CIE-LABlab(16.50, 34.47, -51.75)
CIE-LCHlch(16.50, 62.18, 303.67°)
OKLaboklab(29.51% 0.0116 -0.1497)
OKLCHoklch(29.51% 0.15 274.4)
XYZxyz(4.0432, 2.1984, 17.0374)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1875 #707518
analogous
#184175 #1D1875 #4C1875
triadic
#1D1875 #751D18 #18751D
tetradic
#1D1875 #751841 #707518 #18754C
square
#1D1875 #751841 #707518 #18754C
split-complementary
#1D1875 #754C18 #417518
monochromatic
#060519 #100E42 #1D1875 #2A22A8 #3B32D5

Accessibility & contrast

On white

14.59
#1D1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1875
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1875#FFFFFF#000000##FFFFFF
##1D18751.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1875;
/* rgb */ color: rgb(29, 24, 117);
/* oklch */ color: oklch(29.5% 0.150 274.4);
Tailwind
colors: {
  custom: {
    50: '#69579e',
    500: '#1d1875',
    950: '#000000',
  },
}
SCSS
$custom: #1d1875;
$custom-light: #69579e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1875",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 243.226,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29506,
    "c": 0.15012,
    "h": 274.4
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#1D1875
secondary
#A4AA3F
accent
#E93FE0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1875

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

Preview Lab → · Contrast checker → · Palette generator →

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