#1F1464#1F1464

#1F1464 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.131 H 279.3°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#1F1464
RGBrgb(31, 20, 100)
HSLhsl(248, 67%, 24%)
HSVhsv(248, 80%, 39%)
CMYKcmyk(69%, 80%, 0%, 60.8%)
CIE-LABlab(13.89, 31.15, -44.93)
CIE-LCHlch(13.89, 54.67, 304.73°)
OKLaboklab(27.14% 0.0211 -0.1297)
OKLCHoklch(27.14% 0.131 279.3)
XYZxyz(3.1147, 1.7115, 12.2203)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1464 #596414
analogous
#143164 #1F1464 #471464
triadic
#1F1464 #641F14 #14641F
tetradic
#1F1464 #641431 #596414 #146447
square
#1F1464 #641431 #596414 #146447
split-complementary
#1F1464 #644714 #316414
monochromatic
#08051A #0F0A31 #1F1464 #2F1E97 #3F28CA

Accessibility & contrast

On white

15.64
#1F1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1F1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1464
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1464#FFFFFF#000000##FFFFFF
##1F14641.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f1464;
/* rgb */ color: rgb(31, 20, 100);
/* oklch */ color: oklch(27.1% 0.131 279.3);
Tailwind
colors: {
  custom: {
    50: '#665391',
    500: '#1f1464',
    950: '#000000',
  },
}
SCSS
$custom: #1f1464;
$custom-light: #665391;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1464",
  "rgb": {
    "r": 31,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 248.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27137,
    "c": 0.13143,
    "h": 279.3
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#1F1464
secondary
#8E9B38
accent
#EA3ED2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1F1464

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

Preview Lab → · Contrast checker → · Palette generator →

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