#1D2F74#1D2F74

#1D2F74 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.121 H 268.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1D2F74
RGBrgb(29, 47, 116)
HSLhsl(228, 60%, 28%)
HSVhsv(228, 75%, 45%)
CMYKcmyk(75%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.14, 18.79, -41.85)
CIE-LCHlch(22.14, 45.87, 294.18°)
OKLaboklab(33.59% -0.004 -0.1206)
OKLCHoklch(33.59% 0.121 268.1)
XYZxyz(4.6745, 3.5547, 16.9594)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F74 #74621D
analogous
#1D5A74 #1D2F74 #361D74
triadic
#1D2F74 #741D2F #2F741D
tetradic
#1D2F74 #741D5A #74621D #1D7436
square
#1D2F74 #741D5A #74621D #1D7436
split-complementary
#1D2F74 #74361D #5A741D
monochromatic
#060A18 #111B43 #1D2F74 #2943A5 #3D5BCE

Accessibility & contrast

On white

12.27
#1D2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F74
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F74#FFFFFF#000000##FFFFFF
##1D2F741.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2f74;
/* rgb */ color: rgb(29, 47, 116);
/* oklch */ color: oklch(33.6% 0.121 268.1);
Tailwind
colors: {
  custom: {
    50: '#66679d',
    500: '#1d2f74',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f74;
$custom-light: #66679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f74",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 227.586,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33588,
    "c": 0.1207,
    "h": 268.1
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#1D2F74
secondary
#A89445
accent
#C245E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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