#1D2F79#1D2F79

#1D2F79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.128 H 268.3°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1D2F79
RGBrgb(29, 47, 121)
HSLhsl(228, 61%, 29%)
HSVhsv(228, 76%, 47%)
CMYKcmyk(76%, 61.2%, 0%, 52.5%)
CIE-LABlab(22.56, 20.79, -44.35)
CIE-LCHlch(22.56, 48.98, 295.12°)
OKLaboklab(34.04% -0.0038 -0.128)
OKLCHoklch(34.04% 0.128 268.3)
XYZxyz(4.9732, 3.6742, 18.5325)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F79 #79671D
analogous
#1D5D79 #1D2F79 #391D79
triadic
#1D2F79 #791D2F #2F791D
tetradic
#1D2F79 #791D5D #79671D #1D7939
square
#1D2F79 #791D5D #79671D #1D7939
split-complementary
#1D2F79 #79391D #5D791D
monochromatic
#060A19 #111C48 #1D2F79 #2942AA #3F5CD1

Accessibility & contrast

On white

12.10
#1D2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D2F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F79
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F79#FFFFFF#000000##FFFFFF
##1D2F791.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2f79;
/* rgb */ color: rgb(29, 47, 121);
/* oklch */ color: oklch(34.0% 0.128 268.3);
Tailwind
colors: {
  custom: {
    50: '#6867a0',
    500: '#1d2f79',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f79;
$custom-light: #6867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f79",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 228.261,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34037,
    "c": 0.12804,
    "h": 268.3
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#1D2F79
secondary
#AD9845
accent
#C543E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1D2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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