#1F1669#1F1669

#1F1669 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.136 H 277.8°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#1F1669
RGBrgb(31, 22, 105)
HSLhsl(247, 65%, 25%)
HSVhsv(247, 79%, 41%)
CMYKcmyk(70.5%, 79%, 0%, 58.8%)
CIE-LABlab(14.87, 31.70, -46.62)
CIE-LCHlch(14.87, 56.37, 304.22°)
OKLaboklab(27.99% 0.0185 -0.1347)
OKLCHoklch(27.99% 0.136 277.8)
XYZxyz(3.4010, 1.8848, 13.5464)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1669 #606916
analogous
#163769 #1F1669 #491669
triadic
#1F1669 #691F16 #16691F
tetradic
#1F1669 #691637 #606916 #166949
square
#1F1669 #691637 #606916 #166949
split-complementary
#1F1669 #694916 #376916
monochromatic
#070519 #100B36 #1F1669 #2E219C #3D2BCE

Accessibility & contrast

On white

15.25
#1F1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1F1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1669
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1669#FFFFFF#000000##FFFFFF
##1F16691.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1f1669;
/* rgb */ color: rgb(31, 22, 105);
/* oklch */ color: oklch(28.0% 0.136 277.8);
Tailwind
colors: {
  custom: {
    50: '#675595',
    500: '#1f1669',
    950: '#000000',
  },
}
SCSS
$custom: #1f1669;
$custom-light: #675595;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1669",
  "rgb": {
    "r": 31,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 246.506,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27994,
    "c": 0.13593,
    "h": 277.8
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#1F1669
secondary
#959F3B
accent
#E83FD6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1F1669

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

Preview Lab → · Contrast checker → · Palette generator →

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