#1D2A6E#1D2A6E

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

Color values

HEX#1D2A6E
RGBrgb(29, 42, 110)
HSLhsl(230, 58%, 27%)
HSVhsv(230, 74%, 43%)
CMYKcmyk(73.6%, 61.8%, 0%, 56.9%)
CIE-LABlab(20.21, 19.95, -41.13)
CIE-LCHlch(20.21, 45.71, 295.88°)
OKLaboklab(31.99% 0.0001 -0.1186)
OKLCHoklch(31.99% 0.119 270.1)
XYZxyz(4.1482, 3.0425, 15.1175)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A6E #6E611D
analogous
#1D536E #1D2A6E #381D6E
triadic
#1D2A6E #6E1D2A #2A6E1D
tetradic
#1D2A6E #6E1D53 #6E611D #1D6E38
square
#1D2A6E #6E1D53 #6E611D #1D6E38
split-complementary
#1D2A6E #6E381D #536E1D
monochromatic
#060918 #10183E #1D2A6E #2A3C9E #3A52CB

Accessibility & contrast

On white

13.05
#1D2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A6E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A6E#FFFFFF#000000##FFFFFF
##1D2A6E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2a6e;
/* rgb */ color: rgb(29, 42, 110);
/* oklch */ color: oklch(32.0% 0.119 270.1);
Tailwind
colors: {
  custom: {
    50: '#656398',
    500: '#1d2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a6e;
$custom-light: #656398;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a6e",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 230.37,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31989,
    "c": 0.11858,
    "h": 270.1
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#1D2A6E
secondary
#A29344
accent
#C946E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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