#1F1869#1F1869

#1F1869 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.134 H 277.4°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1F1869
RGBrgb(31, 24, 105)
HSLhsl(245, 63%, 25%)
HSVhsv(245, 77%, 41%)
CMYKcmyk(70.5%, 77.1%, 0%, 58.8%)
CIE-LABlab(15.30, 30.50, -45.91)
CIE-LCHlch(15.30, 55.12, 303.59°)
OKLaboklab(28.3% 0.0172 -0.1326)
OKLCHoklch(28.3% 0.134 277.4)
XYZxyz(3.4407, 1.9642, 13.5597)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1869 #626918
analogous
#183969 #1F1869 #471869
triadic
#1F1869 #691F18 #18691F
tetradic
#1F1869 #691839 #626918 #186947
square
#1F1869 #691839 #626918 #186947
split-complementary
#1F1869 #694718 #396918
monochromatic
#070619 #100D37 #1F1869 #2E239B #3C2FCD

Accessibility & contrast

On white

15.08
#1F1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1F1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1869
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1869#FFFFFF#000000##FFFFFF
##1F18691.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f1869;
/* rgb */ color: rgb(31, 24, 105);
/* oklch */ color: oklch(28.3% 0.134 277.4);
Tailwind
colors: {
  custom: {
    50: '#665695',
    500: '#1f1869',
    950: '#000000',
  },
}
SCSS
$custom: #1f1869;
$custom-light: #665695;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1869",
  "rgb": {
    "r": 31,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 245.185,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28297,
    "c": 0.13373,
    "h": 277.4
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#1F1869
secondary
#979F3E
accent
#E642D8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1F1869

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

Preview Lab → · Contrast checker → · Palette generator →

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