#1D2A5F#1D2A5F

#1D2A5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.096 H 269.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1D2A5F
RGBrgb(29, 42, 95)
HSLhsl(228, 53%, 24%)
HSVhsv(228, 69%, 37%)
CMYKcmyk(69.5%, 55.8%, 0%, 62.7%)
CIE-LABlab(18.98, 13.94, -33.32)
CIE-LCHlch(18.98, 36.12, 292.71°)
OKLaboklab(30.68% -0.0006 -0.0956)
OKLCHoklch(30.68% 0.096 269.6)
XYZxyz(3.3995, 2.7431, 11.1746)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A5F #5F521D
analogous
#1D4B5F #1D2A5F #311D5F
triadic
#1D2A5F #5F1D2A #2A5F1D
tetradic
#1D2A5F #5F1D4B #5F521D #1D5F31
square
#1D2A5F #5F1D4B #5F521D #1D5F31
split-complementary
#1D2A5F #5F311D #4B5F1D
monochromatic
#070A17 #0F1530 #1D2A5F #2B3F8E #3A53BD

Accessibility & contrast

On white

13.56
#1D2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A5F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A5F#FFFFFF#000000##FFFFFF
##1D2A5F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093161
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2a5f;
/* rgb */ color: rgb(29, 42, 95);
/* oklch */ color: oklch(30.7% 0.096 269.6);
Tailwind
colors: {
  custom: {
    50: '#61638d',
    500: '#1d2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a5f;
$custom-light: #61638d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a5f",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 228.182,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.09562,
    "h": 269.6
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#1D2A5F
secondary
#948444
accent
#C04BDD
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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