#1D2A5B#1D2A5B

#1D2A5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.089 H 269.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1D2A5B
RGBrgb(29, 42, 91)
HSLhsl(227, 52%, 24%)
HSVhsv(227, 68%, 36%)
CMYKcmyk(68.1%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.68, 12.34, -31.16)
CIE-LCHlch(18.68, 33.52, 291.61°)
OKLaboklab(30.35% -0.0011 -0.0893)
OKLCHoklch(30.35% 0.089 269.3)
XYZxyz(3.2223, 2.6722, 10.2415)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A5B #5B4E1D
analogous
#1D495B #1D2A5B #2F1D5B
triadic
#1D2A5B #5B1D2A #2A5B1D
tetradic
#1D2A5B #5B1D49 #5B4E1D #1D5B2F
square
#1D2A5B #5B1D49 #5B4E1D #1D5B2F
split-complementary
#1D2A5B #5B2F1D #495B1D
monochromatic
#070B17 #0E152D #1D2A5B #2C3F89 #3B55B8

Accessibility & contrast

On white

13.69
#1D2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A5B
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A5B#FFFFFF#000000##FFFFFF
##1D2A5B1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305D
Deuteranopia (green-blind)
#022B5A
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2a5b;
/* rgb */ color: rgb(29, 42, 91);
/* oklch */ color: oklch(30.4% 0.089 269.3);
Tailwind
colors: {
  custom: {
    50: '#61638a',
    500: '#1d2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a5b;
$custom-light: #61638a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a5b",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 227.419,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30352,
    "c": 0.08928,
    "h": 269.3
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#1D2A5B
secondary
#908044
accent
#BD4DDB
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1D2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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