#1D2A6D#1D2A6D

#1D2A6D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.117 H 270.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1D2A6D
RGBrgb(29, 42, 109)
HSLhsl(230, 58%, 27%)
HSVhsv(230, 73%, 43%)
CMYKcmyk(73.4%, 61.5%, 0%, 57.3%)
CIE-LABlab(20.13, 19.55, -40.62)
CIE-LCHlch(20.13, 45.08, 295.70°)
OKLaboklab(31.9% 0.0001 -0.1171)
OKLCHoklch(31.9% 0.117 270.1)
XYZxyz(4.0940, 3.0209, 14.8324)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A6D #6D601D
analogous
#1D526D #1D2A6D #381D6D
triadic
#1D2A6D #6D1D2A #2A6D1D
tetradic
#1D2A6D #6D1D52 #6D601D #1D6D38
square
#1D2A6D #6D1D52 #6D601D #1D6D38
split-complementary
#1D2A6D #6D381D #526D1D
monochromatic
#060918 #10173D #1D2A6D #2A3D9D #3A51CB

Accessibility & contrast

On white

13.09
#1D2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A6D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A6D#FFFFFF#000000##FFFFFF
##1D2A6D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2a6d;
/* rgb */ color: rgb(29, 42, 109);
/* oklch */ color: oklch(31.9% 0.117 270.1);
Tailwind
colors: {
  custom: {
    50: '#656397',
    500: '#1d2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a6d;
$custom-light: #656397;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a6d",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 230.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.11709,
    "h": 270.1
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#1D2A6D
secondary
#A29244
accent
#C847E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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