#1D2E88#1D2E88

#1D2E88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.151 H 268.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1D2E88
RGBrgb(29, 46, 136)
HSLhsl(230, 65%, 32%)
HSVhsv(230, 79%, 53%)
CMYKcmyk(78.7%, 66.2%, 0%, 46.7%)
CIE-LABlab(23.65, 27.38, -52.03)
CIE-LCHlch(23.65, 58.80, 297.75°)
OKLaboklab(35.25% -0.0033 -0.1505)
OKLCHoklch(35.25% 0.151 268.7)
XYZxyz(5.9261, 3.9921, 23.7460)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E88 #88771D
analogous
#1D6488 #1D2E88 #411D88
triadic
#1D2E88 #881D2E #2E881D
tetradic
#1D2E88 #881D64 #88771D #1D8841
square
#1D2E88 #881D64 #88771D #1D8841
split-complementary
#1D2E88 #88411D #64881D
monochromatic
#070C23 #121D56 #1D2E88 #283FBA #485ED8

Accessibility & contrast

On white

11.68
#1D2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E88
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E88#FFFFFF#000000##FFFFFF
##1D2E881.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2e88;
/* rgb */ color: rgb(29, 46, 136);
/* oklch */ color: oklch(35.3% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#6c66ac',
    500: '#1d2e88',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e88;
$custom-light: #6c66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e88",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 230.467,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35255,
    "c": 0.15055,
    "h": 268.7
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#1D2E88
secondary
#BAA847
accent
#CD40E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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