#1D2E85#1D2E85

#1D2E85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.146 H 268.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1D2E85
RGBrgb(29, 46, 133)
HSLhsl(230, 64%, 32%)
HSVhsv(230, 78%, 52%)
CMYKcmyk(78.2%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.36, 26.22, -50.61)
CIE-LCHlch(23.36, 57.00, 297.38°)
OKLaboklab(34.96% -0.0032 -0.1464)
OKLCHoklch(34.96% 0.146 268.7)
XYZxyz(5.7159, 3.9080, 22.6388)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E85 #85741D
analogous
#1D6285 #1D2E85 #401D85
triadic
#1D2E85 #851D2E #2E851D
tetradic
#1D2E85 #851D62 #85741D #1D8540
square
#1D2E85 #851D62 #85741D #1D8540
split-complementary
#1D2E85 #85401D #62851D
monochromatic
#070B21 #121D53 #1D2E85 #283FB7 #465DD7

Accessibility & contrast

On white

11.79
#1D2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E85
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E85#FFFFFF#000000##FFFFFF
##1D2E851.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2e85;
/* rgb */ color: rgb(29, 46, 133);
/* oklch */ color: oklch(35.0% 0.146 268.7);
Tailwind
colors: {
  custom: {
    50: '#6b66a9',
    500: '#1d2e85',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e85;
$custom-light: #6b66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e85",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 230.192,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34963,
    "c": 0.1464,
    "h": 268.7
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#1D2E85
secondary
#B8A546
accent
#CC41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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