#1D2E8F#1D2E8F

#1D2E8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.160 H 268.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1D2E8F
RGBrgb(29, 46, 143)
HSLhsl(231, 66%, 34%)
HSVhsv(231, 80%, 56%)
CMYKcmyk(79.7%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.31, 30.07, -55.29)
CIE-LCHlch(24.31, 62.94, 298.54°)
OKLaboklab(35.95% -0.0037 -0.16)
OKLCHoklch(35.95% 0.16 268.7)
XYZxyz(6.4399, 4.1976, 26.4521)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E8F #8F7E1D
analogous
#1D678F #1D2E8F #451D8F
triadic
#1D2E8F #8F1D2E #2E8F1D
tetradic
#1D2E8F #8F1D67 #8F7E1D #1D8F45
square
#1D2E8F #8F1D67 #8F7E1D #1D8F45
split-complementary
#1D2E8F #8F451D #678F1D
monochromatic
#080D29 #131E5C #1D2E8F #273EC2 #4C61DB

Accessibility & contrast

On white

11.42
#1D2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E8F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E8F#FFFFFF#000000##FFFFFF
##1D2E8F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d2e8f;
/* rgb */ color: rgb(29, 46, 143);
/* oklch */ color: oklch(35.9% 0.160 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1d2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e8f;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e8f",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 231.053,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3595,
    "c": 0.16008,
    "h": 268.7
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#1D2E8F
secondary
#BDAC4B
accent
#D03FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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