#1D2B6E#1D2B6E

#1D2B6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.117 H 269.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1D2B6E
RGBrgb(29, 43, 110)
HSLhsl(230, 58%, 27%)
HSVhsv(230, 74%, 43%)
CMYKcmyk(73.6%, 60.9%, 0%, 56.9%)
CIE-LABlab(20.50, 19.24, -40.67)
CIE-LCHlch(20.50, 44.99, 295.31°)
OKLaboklab(32.2% -0.0007 -0.1172)
OKLCHoklch(32.2% 0.117 269.6)
XYZxyz(4.1841, 3.1143, 15.1295)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B6E #6E601D
analogous
#1D536E #1D2B6E #381D6E
triadic
#1D2B6E #6E1D2B #2B6E1D
tetradic
#1D2B6E #6E1D53 #6E601D #1D6E38
square
#1D2B6E #6E1D53 #6E601D #1D6E38
split-complementary
#1D2B6E #6E381D #536E1D
monochromatic
#060918 #10183E #1D2B6E #2A3E9E #3A53CB

Accessibility & contrast

On white

12.94
#1D2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B6E
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B6E#FFFFFF#000000##FFFFFF
##1D2B6E1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2b6e;
/* rgb */ color: rgb(29, 43, 110);
/* oklch */ color: oklch(32.2% 0.117 269.6);
Tailwind
colors: {
  custom: {
    50: '#656498',
    500: '#1d2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b6e;
$custom-light: #656498;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b6e",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 229.63,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.322,
    "c": 0.11721,
    "h": 269.6
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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