#1D2E7C#1D2E7C

#1D2E7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.134 H 268.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1D2E7C
RGBrgb(29, 46, 124)
HSLhsl(229, 62%, 30%)
HSVhsv(229, 77%, 49%)
CMYKcmyk(76.6%, 62.9%, 0%, 51.4%)
CIE-LABlab(22.55, 22.68, -46.28)
CIE-LCHlch(22.55, 51.54, 296.11°)
OKLaboklab(34.11% -0.003 -0.1336)
OKLCHoklch(34.11% 0.134 268.7)
XYZxyz(5.1205, 3.6699, 19.5034)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E7C #7C6B1D
analogous
#1D5E7C #1D2E7C #3B1D7C
triadic
#1D2E7C #7C1D2E #2E7C1D
tetradic
#1D2E7C #7C1D5E #7C6B1D #1D7C3B
square
#1D2E7C #7C1D5E #7C6B1D #1D7C3B
split-complementary
#1D2E7C #7C3B1D #5E7C1D
monochromatic
#060919 #111C4A #1D2E7C #2940AE #415BD3

Accessibility & contrast

On white

12.11
#1D2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2E7C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E7C#FFFFFF#000000##FFFFFF
##1D2E7C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2e7c;
/* rgb */ color: rgb(29, 46, 124);
/* oklch */ color: oklch(34.1% 0.134 268.7);
Tailwind
colors: {
  custom: {
    50: '#6866a3',
    500: '#1d2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e7c;
$custom-light: #6866a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e7c",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 229.263,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.34107,
    "c": 0.13368,
    "h": 268.7
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#1D2E7C
secondary
#B09D45
accent
#C843E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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