#1D2F89#1D2F89

#1D2F89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.151 H 268.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#1D2F89
RGBrgb(29, 47, 137)
HSLhsl(230, 65%, 33%)
HSVhsv(230, 79%, 54%)
CMYKcmyk(78.8%, 65.7%, 0%, 46.3%)
CIE-LABlab(24.00, 27.09, -52.08)
CIE-LCHlch(24.00, 58.70, 297.48°)
OKLaboklab(35.54% -0.004 -0.1506)
OKLCHoklch(35.54% 0.151 268.5)
XYZxyz(6.0370, 4.0997, 24.1352)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F89 #89771D
analogous
#1D6589 #1D2F89 #411D89
triadic
#1D2F89 #891D2F #2F891D
tetradic
#1D2F89 #891D65 #89771D #1D8941
square
#1D2F89 #891D65 #89771D #1D8941
split-complementary
#1D2F89 #89411D #65891D
monochromatic
#080C24 #121E56 #1D2F89 #2840BC #4860D8

Accessibility & contrast

On white

11.54
#1D2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F89
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F89#FFFFFF#000000##FFFFFF
##1D2F891.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2f89;
/* rgb */ color: rgb(29, 47, 137);
/* oklch */ color: oklch(35.5% 0.151 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c67ac',
    500: '#1d2f89',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f89;
$custom-light: #6c67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f89",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 230,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35544,
    "c": 0.15069,
    "h": 268.5
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#1D2F89
secondary
#BAA747
accent
#CC40E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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