#1D279A#1D279A

#1D279A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.182 H 269.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1D279A
RGBrgb(29, 39, 154)
HSLhsl(235, 68%, 36%)
HSVhsv(235, 81%, 60%)
CMYKcmyk(81.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(23.82, 38.58, -62.88)
CIE-LCHlch(23.82, 73.77, 301.53°)
OKLaboklab(35.93% -0.0016 -0.1822)
OKLCHoklch(35.93% 0.182 269.5)
XYZxyz(7.0629, 4.0445, 30.9740)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D279A #9A901D
analogous
#1D659A #1D279A #511D9A
triadic
#1D279A #9A1D27 #279A1D
tetradic
#1D279A #9A1D65 #9A901D #1D9A51
square
#1D279A #9A1D65 #9A901D #1D9A51
split-complementary
#1D279A #9A511D #659A1D
monochromatic
#0A0D33 #131A66 #1D279A #2734CE #535EDF

Accessibility & contrast

On white

11.61
#1D279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D279A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D279A#FFFFFF#000000##FFFFFF
##1D279A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d279a;
/* rgb */ color: rgb(29, 39, 154);
/* oklch */ color: oklch(35.9% 0.182 269.5);
Tailwind
colors: {
  custom: {
    50: '#7162b9',
    500: '#1d279a',
    950: '#000000',
  },
}
SCSS
$custom: #1d279a;
$custom-light: #7162b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d279a",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 235.2,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35932,
    "c": 0.18218,
    "h": 269.5
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#1D279A
secondary
#C2B951
accent
#DD3DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1D279A

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

Preview Lab → · Contrast checker → · Palette generator →

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