#1D2E89#1D2E89

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

Color values

HEX#1D2E89
RGBrgb(29, 46, 137)
HSLhsl(231, 65%, 33%)
HSVhsv(231, 79%, 54%)
CMYKcmyk(78.8%, 66.4%, 0%, 46.3%)
CIE-LABlab(23.74, 27.77, -52.50)
CIE-LCHlch(23.74, 59.39, 297.87°)
OKLaboklab(35.35% -0.0034 -0.1519)
OKLCHoklch(35.35% 0.152 268.7)
XYZxyz(5.9975, 4.0207, 24.1220)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E89 #89781D
analogous
#1D6489 #1D2E89 #421D89
triadic
#1D2E89 #891D2E #2E891D
tetradic
#1D2E89 #891D64 #89781D #1D8942
square
#1D2E89 #891D64 #89781D #1D8942
split-complementary
#1D2E89 #89421D #64891D
monochromatic
#080C24 #121D56 #1D2E89 #283FBC #485FD8

Accessibility & contrast

On white

11.64
#1D2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2E89
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E89#FFFFFF#000000##FFFFFF
##1D2E891.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2e89;
/* rgb */ color: rgb(29, 46, 137);
/* oklch */ color: oklch(35.4% 0.152 268.7);
Tailwind
colors: {
  custom: {
    50: '#6c66ac',
    500: '#1d2e89',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e89;
$custom-light: #6c66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e89",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 230.556,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35354,
    "c": 0.15193,
    "h": 268.7
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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