#1D2A5C#1D2A5C

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

Color values

HEX#1D2A5C
RGBrgb(29, 42, 92)
HSLhsl(228, 52%, 24%)
HSVhsv(228, 68%, 36%)
CMYKcmyk(68.5%, 54.3%, 0%, 63.9%)
CIE-LABlab(18.76, 12.74, -31.71)
CIE-LCHlch(18.76, 34.17, 291.90°)
OKLaboklab(30.43% -0.001 -0.0909)
OKLCHoklch(30.43% 0.091 269.4)
XYZxyz(3.2658, 2.6896, 10.4702)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A5C #5C4F1D
analogous
#1D495C #1D2A5C #2F1D5C
triadic
#1D2A5C #5C1D2A #2A5C1D
tetradic
#1D2A5C #5C1D49 #5C4F1D #1D5C2F
square
#1D2A5C #5C1D49 #5C4F1D #1D5C2F
split-complementary
#1D2A5C #5C2F1D #495C1D
monochromatic
#070B17 #0E152D #1D2A5C #2C3F8B #3A54B9

Accessibility & contrast

On white

13.65
#1D2A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D2A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A5C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A5C#FFFFFF#000000##FFFFFF
##1D2A5C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2a5c;
/* rgb */ color: rgb(29, 42, 92);
/* oklch */ color: oklch(30.4% 0.091 269.4);
Tailwind
colors: {
  custom: {
    50: '#61638a',
    500: '#1d2a5c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a5c;
$custom-light: #61638a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a5c",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 227.619,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30433,
    "c": 0.09088,
    "h": 269.4
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#1D2A5C
secondary
#918144
accent
#BE4CDC
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1D2A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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