#1D2E78#1D2E78

#1D2E78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.128 H 268.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1D2E78
RGBrgb(29, 46, 120)
HSLhsl(229, 61%, 29%)
HSVhsv(229, 76%, 47%)
CMYKcmyk(75.8%, 61.7%, 0%, 52.9%)
CIE-LABlab(22.20, 21.09, -44.31)
CIE-LCHlch(22.20, 49.07, 295.46°)
OKLaboklab(33.74% -0.0031 -0.1279)
OKLCHoklch(33.74% 0.128 268.6)
XYZxyz(4.8727, 3.5708, 18.1981)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E78 #78671D
analogous
#1D5C78 #1D2E78 #3A1D78
triadic
#1D2E78 #781D2E #2E781D
tetradic
#1D2E78 #781D5C #78671D #1D783A
square
#1D2E78 #781D5C #78671D #1D783A
split-complementary
#1D2E78 #783A1D #5C781D
monochromatic
#060919 #111B47 #1D2E78 #2941A9 #3F5AD1

Accessibility & contrast

On white

12.25
#1D2E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E78
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E78#FFFFFF#000000##FFFFFF
##1D2E781.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2e78;
/* rgb */ color: rgb(29, 46, 120);
/* oklch */ color: oklch(33.7% 0.128 268.6);
Tailwind
colors: {
  custom: {
    50: '#6766a0',
    500: '#1d2e78',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e78;
$custom-light: #6766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e78",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 228.791,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33737,
    "c": 0.12791,
    "h": 268.6
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#1D2E78
secondary
#AC9945
accent
#C644E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1D2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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