#1D279E#1D279E

#1D279E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.187 H 269.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#1D279E
RGBrgb(29, 39, 158)
HSLhsl(235, 69%, 37%)
HSVhsv(235, 82%, 62%)
CMYKcmyk(81.6%, 75.3%, 0%, 38%)
CIE-LABlab(24.26, 39.99, -64.60)
CIE-LCHlch(24.26, 75.98, 301.76°)
OKLaboklab(36.38% -0.0022 -0.1872)
OKLCHoklch(36.38% 0.187 269.3)
XYZxyz(7.4017, 4.1800, 32.7578)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D279E #9E941D
analogous
#1D689E #1D279E #541D9E
triadic
#1D279E #9E1D27 #279E1D
tetradic
#1D279E #9E1D68 #9E941D #1D9E54
square
#1D279E #9E1D68 #9E941D #1D9E54
split-complementary
#1D279E #9E541D #689E1D
monochromatic
#0A0D37 #141A6A #1D279E #2634D2 #5660E0

Accessibility & contrast

On white

11.44
#1D279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D279E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D279E#FFFFFF#000000##FFFFFF
##1D279E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d279e;
/* rgb */ color: rgb(29, 39, 158);
/* oklch */ color: oklch(36.4% 0.187 269.3);
Tailwind
colors: {
  custom: {
    50: '#7262bc',
    500: '#1d279e',
    950: '#000000',
  },
}
SCSS
$custom: #1d279e;
$custom-light: #7262bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d279e",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 235.349,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36376,
    "c": 0.18718,
    "h": 269.3
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#1D279E
secondary
#C3BB54
accent
#DE3CEC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1D279E

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

Preview Lab → · Contrast checker → · Palette generator →

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