#1D1964#1D1964

#1D1964 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.126 H 276.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#1D1964
RGBrgb(29, 25, 100)
HSLhsl(243, 60%, 25%)
HSVhsv(243, 75%, 39%)
CMYKcmyk(71%, 75%, 0%, 60.8%)
CIE-LABlab(14.82, 27.81, -43.41)
CIE-LCHlch(14.82, 51.55, 302.64°)
OKLaboklab(27.75% 0.0146 -0.1254)
OKLCHoklch(27.75% 0.126 276.7)
XYZxyz(3.1538, 1.8763, 12.2501)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1964 #606419
analogous
#193B64 #1D1964 #431964
triadic
#1D1964 #641D19 #19641D
tetradic
#1D1964 #64193B #606419 #196443
square
#1D1964 #64193B #606419 #196443
split-complementary
#1D1964 #644319 #3B6419
monochromatic
#070618 #0F0D33 #1D1964 #2B2595 #3931C6

Accessibility & contrast

On white

15.27
#1D1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1964
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1964#FFFFFF#000000##FFFFFF
##1D19641.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1964;
/* rgb */ color: rgb(29, 25, 100);
/* oklch */ color: oklch(27.8% 0.126 276.7);
Tailwind
colors: {
  custom: {
    50: '#645691',
    500: '#1d1964',
    950: '#000000',
  },
}
SCSS
$custom: #1d1964;
$custom-light: #645691;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1964",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 243.2,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27754,
    "c": 0.12621,
    "h": 276.7
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#1D1964
secondary
#959A3F
accent
#E345DB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1964

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

Preview Lab → · Contrast checker → · Palette generator →

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