#1F1569#1F1569

#1F1569 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.137 H 278.0°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#1F1569
RGBrgb(31, 21, 105)
HSLhsl(247, 67%, 25%)
HSVhsv(247, 80%, 41%)
CMYKcmyk(70.5%, 80%, 0%, 58.8%)
CIE-LABlab(14.66, 32.28, -46.96)
CIE-LCHlch(14.66, 56.98, 304.51°)
OKLaboklab(27.85% 0.0192 -0.1356)
OKLCHoklch(27.85% 0.137 278)
XYZxyz(3.3822, 1.8473, 13.5402)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1569 #5F6915
analogous
#153569 #1F1569 #491569
triadic
#1F1569 #691F15 #15691F
tetradic
#1F1569 #691535 #5F6915 #156949
square
#1F1569 #691535 #5F6915 #156949
split-complementary
#1F1569 #694915 #356915
monochromatic
#08051A #100B36 #1F1569 #2E1F9C #3D29CF

Accessibility & contrast

On white

15.33
#1F1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1F1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1569
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1569#FFFFFF#000000##FFFFFF
##1F15691.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002167
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1f1569;
/* rgb */ color: rgb(31, 21, 105);
/* oklch */ color: oklch(27.8% 0.137 278.0);
Tailwind
colors: {
  custom: {
    50: '#675495',
    500: '#1f1569',
    950: '#000000',
  },
}
SCSS
$custom: #1f1569;
$custom-light: #675495;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1569",
  "rgb": {
    "r": 31,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 247.143,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27849,
    "c": 0.13699,
    "h": 278
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#1F1569
secondary
#94A03A
accent
#EA3ED5
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1F1569

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

Preview Lab → · Contrast checker → · Palette generator →

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