#1D2CA1#1D2CA1

#1D2CA1 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.186 H 268.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#1D2CA1
RGBrgb(29, 44, 161)
HSLhsl(233, 69%, 37%)
HSVhsv(233, 82%, 63%)
CMYKcmyk(82%, 72.7%, 0%, 36.9%)
CIE-LABlab(25.67, 38.03, -64.10)
CIE-LCHlch(25.67, 74.53, 300.68°)
OKLaboklab(37.48% -0.0045 -0.1857)
OKLCHoklch(37.48% 0.186 268.6)
XYZxyz(7.8382, 4.6349, 34.1928)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2CA1 #A1921D
analogous
#1D6EA1 #1D2CA1 #501DA1
triadic
#1D2CA1 #A11D2C #2CA11D
tetradic
#1D2CA1 #A11D6E #A1921D #1DA150
square
#1D2CA1 #A11D6E #A1921D #1DA150
split-complementary
#1D2CA1 #A1501D #6EA11D
monochromatic
#0A1039 #141E6D #1D2CA1 #263AD5 #5867E1

Accessibility & contrast

On white

10.90
#1D2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2CA1
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2CA1#FFFFFF#000000##FFFFFF
##1D2CA11.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d2ca1;
/* rgb */ color: rgb(29, 44, 161);
/* oklch */ color: oklch(37.5% 0.186 268.6);
Tailwind
colors: {
  custom: {
    50: '#7266be',
    500: '#1d2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1d2ca1;
$custom-light: #7266be;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2ca1",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 233.182,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.18579,
    "h": 268.6
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#1D2CA1
secondary
#C4B855
accent
#D83CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1D2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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