#1D2E7B#1D2E7B

#1D2E7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.132 H 268.7°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1D2E7B
RGBrgb(29, 46, 123)
HSLhsl(229, 62%, 30%)
HSVhsv(229, 76%, 48%)
CMYKcmyk(76.4%, 62.6%, 0%, 51.8%)
CIE-LABlab(22.46, 22.29, -45.79)
CIE-LCHlch(22.46, 50.92, 295.95°)
OKLaboklab(34.01% -0.003 -0.1322)
OKLCHoklch(34.01% 0.132 268.7)
XYZxyz(5.0576, 3.6447, 19.1720)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E7B #7B6A1D
analogous
#1D5D7B #1D2E7B #3B1D7B
triadic
#1D2E7B #7B1D2E #2E7B1D
tetradic
#1D2E7B #7B1D5D #7B6A1D #1D7B3B
square
#1D2E7B #7B1D5D #7B6A1D #1D7B3B
split-complementary
#1D2E7B #7B3B1D #5D7B1D
monochromatic
#060919 #111B49 #1D2E7B #2941AD #405BD2

Accessibility & contrast

On white

12.15
#1D2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D2E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E7B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E7B#FFFFFF#000000##FFFFFF
##1D2E7B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2e7b;
/* rgb */ color: rgb(29, 46, 123);
/* oklch */ color: oklch(34.0% 0.132 268.7);
Tailwind
colors: {
  custom: {
    50: '#6866a2',
    500: '#1d2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e7b;
$custom-light: #6866a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e7b",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 229.149,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34014,
    "c": 0.13224,
    "h": 268.7
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#1D2E7B
secondary
#AF9C45
accent
#C843E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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