#1D2F85#1D2F85

#1D2F85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.145 H 268.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1D2F85
RGBrgb(29, 47, 133)
HSLhsl(230, 64%, 32%)
HSVhsv(230, 78%, 52%)
CMYKcmyk(78.2%, 64.7%, 0%, 47.8%)
CIE-LABlab(23.63, 25.53, -50.18)
CIE-LCHlch(23.63, 56.30, 296.96°)
OKLaboklab(35.16% -0.0039 -0.1451)
OKLCHoklch(35.16% 0.145 268.5)
XYZxyz(5.7554, 3.9871, 22.6520)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F85 #85731D
analogous
#1D6385 #1D2F85 #3F1D85
triadic
#1D2F85 #851D2F #2F851D
tetradic
#1D2F85 #851D63 #85731D #1D853F
square
#1D2F85 #851D63 #85731D #1D853F
split-complementary
#1D2F85 #853F1D #63851D
monochromatic
#070B21 #121D53 #1D2F85 #2841B7 #465FD7

Accessibility & contrast

On white

11.68
#1D2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F85
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F85#FFFFFF#000000##FFFFFF
##1D2F851.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2f85;
/* rgb */ color: rgb(29, 47, 133);
/* oklch */ color: oklch(35.2% 0.145 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b67a9',
    500: '#1d2f85',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f85;
$custom-light: #6b67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f85",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 229.615,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.14514,
    "h": 268.5
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#1D2F85
secondary
#B8A446
accent
#CA41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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