#1F1DA9#1F1DA9

#1F1DA9 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.209 H 270.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1F1DA9
RGBrgb(31, 29, 169)
HSLhsl(241, 71%, 39%)
HSVhsv(241, 83%, 66%)
CMYKcmyk(81.7%, 82.8%, 0%, 33.7%)
CIE-LABlab(23.78, 49.13, -72.07)
CIE-LCHlch(23.78, 87.22, 304.28°)
OKLaboklab(36.44% 0.0005 -0.2086)
OKLCHoklch(36.44% 0.209 270.1)
XYZxyz(8.1634, 4.0337, 37.8767)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1DA9 #A7A91D
analogous
#1D61A9 #1F1DA9 #651DA9
triadic
#1F1DA9 #A91F1D #1DA91F
tetradic
#1F1DA9 #A91D61 #A7A91D #1DA965
square
#1F1DA9 #A91D61 #A7A91D #1DA965
split-complementary
#1F1DA9 #A9651D #61A91D
monochromatic
#0C0B41 #151475 #1F1DA9 #2B29DA #5F5DE3

Accessibility & contrast

On white

11.62
#1F1DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1F1DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1DA9
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1DA9#FFFFFF#000000##FFFFFF
##1F1DA91.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0031A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f1da9;
/* rgb */ color: rgb(31, 29, 169);
/* oklch */ color: oklch(36.4% 0.209 270.1);
Tailwind
colors: {
  custom: {
    50: '#775dc4',
    500: '#1f1da9',
    950: '#000000',
  },
}
SCSS
$custom: #1f1da9;
$custom-light: #775dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1da9",
  "rgb": {
    "r": 31,
    "g": 29,
    "b": 169
  },
  "hsl": {
    "h": 240.857,
    "s": 70.707,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36442,
    "c": 0.20863,
    "h": 270.1
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#1F1DA9
secondary
#C6C75A
accent
#ED3AEB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #1F1DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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