#1D236A#1D236A

#1D236A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.122 H 272.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#1D236A
RGBrgb(29, 35, 106)
HSLhsl(235, 57%, 26%)
HSVhsv(235, 73%, 42%)
CMYKcmyk(72.6%, 67%, 0%, 58.4%)
CIE-LABlab(17.93, 23.32, -42.25)
CIE-LCHlch(17.93, 48.25, 298.89°)
OKLaboklab(30.19% 0.0061 -0.1219)
OKLCHoklch(30.19% 0.122 272.9)
XYZxyz(3.7084, 2.5035, 13.9207)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D236A #6A641D
analogous
#1D4A6A #1D236A #3E1D6A
triadic
#1D236A #6A1D23 #236A1D
tetradic
#1D236A #6A1D4A #6A641D #1D6A3E
square
#1D236A #6A1D4A #6A641D #1D6A3E
split-complementary
#1D236A #6A3E1D #4A6A1D
monochromatic
#070818 #10133A #1D236A #2A339A #3944C9

Accessibility & contrast

On white

13.99
#1D236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D236A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D236A#FFFFFF#000000##FFFFFF
##1D236A1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d236a;
/* rgb */ color: rgb(29, 35, 106);
/* oklch */ color: oklch(30.2% 0.122 272.9);
Tailwind
colors: {
  custom: {
    50: '#655e95',
    500: '#1d236a',
    950: '#000000',
  },
}
SCSS
$custom: #1d236a;
$custom-light: #655e95;
$custom-dark: #000000;
JSON
{
  "hex": "#1d236a",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 235.325,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30193,
    "c": 0.12209,
    "h": 272.9
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#1D236A
secondary
#9F9844
accent
#D448E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D236A

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

Preview Lab → · Contrast checker → · Palette generator →

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