#1D2F76#1D2F76

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

Color values

HEX#1D2F76
RGBrgb(29, 47, 118)
HSLhsl(228, 61%, 29%)
HSVhsv(228, 75%, 46%)
CMYKcmyk(75.4%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.31, 19.59, -42.85)
CIE-LCHlch(22.31, 47.12, 294.57°)
OKLaboklab(33.77% -0.0039 -0.1236)
OKLCHoklch(33.77% 0.124 268.2)
XYZxyz(4.7921, 3.6017, 17.5787)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F76 #76641D
analogous
#1D5C76 #1D2F76 #381D76
triadic
#1D2F76 #761D2F #2F761D
tetradic
#1D2F76 #761D5C #76641D #1D7638
square
#1D2F76 #761D5C #76641D #1D7638
split-complementary
#1D2F76 #76381D #5C761D
monochromatic
#060A19 #111B45 #1D2F76 #2943A7 #3E5BD0

Accessibility & contrast

On white

12.21
#1D2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F76
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F76#FFFFFF#000000##FFFFFF
##1D2F761.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2f76;
/* rgb */ color: rgb(29, 47, 118);
/* oklch */ color: oklch(33.8% 0.124 268.2);
Tailwind
colors: {
  custom: {
    50: '#67679e',
    500: '#1d2f76',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f76;
$custom-light: #67679e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f76",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 227.865,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.12364,
    "h": 268.2
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#1D2F76
secondary
#AA9645
accent
#C344E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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