#1D2E8A#1D2E8A

#1D2E8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.153 H 268.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1D2E8A
RGBrgb(29, 46, 138)
HSLhsl(231, 65%, 33%)
HSVhsv(231, 79%, 54%)
CMYKcmyk(79%, 66.7%, 0%, 45.9%)
CIE-LABlab(23.83, 28.15, -52.97)
CIE-LCHlch(23.83, 59.99, 297.99°)
OKLaboklab(35.45% -0.0034 -0.1533)
OKLCHoklch(35.45% 0.153 268.7)
XYZxyz(6.0696, 4.0495, 24.5016)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E8A #8A791D
analogous
#1D648A #1D2E8A #421D8A
triadic
#1D2E8A #8A1D2E #2E8A1D
tetradic
#1D2E8A #8A1D64 #8A791D #1D8A42
square
#1D2E8A #8A1D64 #8A791D #1D8A42
split-complementary
#1D2E8A #8A421D #648A1D
monochromatic
#080C25 #121D57 #1D2E8A #283FBD #495FD9

Accessibility & contrast

On white

11.60
#1D2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E8A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E8A#FFFFFF#000000##FFFFFF
##1D2E8A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2e8a;
/* rgb */ color: rgb(29, 46, 138);
/* oklch */ color: oklch(35.5% 0.153 268.7);
Tailwind
colors: {
  custom: {
    50: '#6c66ad',
    500: '#1d2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e8a;
$custom-light: #6c66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e8a",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 230.642,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35452,
    "c": 0.1533,
    "h": 268.7
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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