#1D2F77#1D2F77

#1D2F77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.125 H 268.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1D2F77
RGBrgb(29, 47, 119)
HSLhsl(228, 61%, 29%)
HSVhsv(228, 76%, 47%)
CMYKcmyk(75.6%, 60.5%, 0%, 53.3%)
CIE-LABlab(22.39, 19.99, -43.35)
CIE-LCHlch(22.39, 47.74, 294.75°)
OKLaboklab(33.86% -0.0039 -0.125)
OKLCHoklch(33.86% 0.125 268.2)
XYZxyz(4.8518, 3.6256, 17.8933)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F77 #77651D
analogous
#1D5C77 #1D2F77 #381D77
triadic
#1D2F77 #771D2F #2F771D
tetradic
#1D2F77 #771D5C #77651D #1D7738
square
#1D2F77 #771D5C #77651D #1D7738
split-complementary
#1D2F77 #77381D #5C771D
monochromatic
#060A19 #111C46 #1D2F77 #2942A8 #3E5BD0

Accessibility & contrast

On white

12.17
#1D2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F77
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F77#FFFFFF#000000##FFFFFF
##1D2F771.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2f77;
/* rgb */ color: rgb(29, 47, 119);
/* oklch */ color: oklch(33.9% 0.125 268.2);
Tailwind
colors: {
  custom: {
    50: '#67679f',
    500: '#1d2f77',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f77;
$custom-light: #67679f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f77",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 228,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33856,
    "c": 0.12511,
    "h": 268.2
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#1D2F77
secondary
#AB9745
accent
#C444E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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