#1D2F97#1D2F97

#1D2F97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.170 H 268.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1D2F97
RGBrgb(29, 47, 151)
HSLhsl(231, 68%, 35%)
HSVhsv(231, 81%, 59%)
CMYKcmyk(80.8%, 68.9%, 0%, 40.8%)
CIE-LABlab(25.34, 32.44, -58.53)
CIE-LCHlch(25.34, 66.91, 299.00°)
OKLaboklab(36.94% -0.0048 -0.1695)
OKLCHoklch(36.94% 0.17 268.4)
XYZxyz(7.1072, 4.5278, 29.7715)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F97 #97851D
analogous
#1D6C97 #1D2F97 #481D97
triadic
#1D2F97 #971D2F #2F971D
tetradic
#1D2F97 #971D6C #97851D #1D9748
square
#1D2F97 #971D6C #97851D #1D9748
split-complementary
#1D2F97 #97481D #6C971D
monochromatic
#090F30 #131F64 #1D2F97 #273FCA #5166DE

Accessibility & contrast

On white

11.02
#1D2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1D2F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F97
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F97#FFFFFF#000000##FFFFFF
##1D2F971.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d2f97;
/* rgb */ color: rgb(29, 47, 151);
/* oklch */ color: oklch(36.9% 0.170 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f67b7',
    500: '#1d2f97',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f97;
$custom-light: #6f67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f97",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 231.148,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3694,
    "c": 0.16956,
    "h": 268.4
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#1D2F97
secondary
#C0B04F
accent
#D13DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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