#1D2C7B#1D2C7B

#1D2C7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.135 H 269.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1D2C7B
RGBrgb(29, 44, 123)
HSLhsl(230, 62%, 30%)
HSVhsv(230, 76%, 48%)
CMYKcmyk(76.4%, 64.2%, 0%, 51.8%)
CIE-LABlab(21.92, 23.68, -46.68)
CIE-LCHlch(21.92, 52.34, 296.90°)
OKLaboklab(33.61% -0.0015 -0.1348)
OKLCHoklch(33.61% 0.135 269.3)
XYZxyz(4.9813, 3.4921, 19.1466)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C7B #7B6C1D
analogous
#1D5B7B #1D2C7B #3D1D7B
triadic
#1D2C7B #7B1D2C #2C7B1D
tetradic
#1D2C7B #7B1D5B #7B6C1D #1D7B3D
square
#1D2C7B #7B1D5B #7B6C1D #1D7B3D
split-complementary
#1D2C7B #7B3D1D #5B7B1D
monochromatic
#060919 #111A49 #1D2C7B #293EAD #4058D2

Accessibility & contrast

On white

12.36
#1D2C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C7B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C7B#FFFFFF#000000##FFFFFF
##1D2C7B1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2c7b;
/* rgb */ color: rgb(29, 44, 123);
/* oklch */ color: oklch(33.6% 0.135 269.3);
Tailwind
colors: {
  custom: {
    50: '#6865a2',
    500: '#1d2c7b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c7b;
$custom-light: #6865a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c7b",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 230.426,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33611,
    "c": 0.13486,
    "h": 269.3
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#1D2C7B
secondary
#AF9E45
accent
#CB43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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