#1F1364#1F1364

#1F1364 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.133 H 279.5°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#1F1364
RGBrgb(31, 19, 100)
HSLhsl(249, 68%, 23%)
HSVhsv(249, 81%, 39%)
CMYKcmyk(69%, 81%, 0%, 60.8%)
CIE-LABlab(13.69, 31.73, -45.27)
CIE-LCHlch(13.69, 55.28, 305.03°)
OKLaboklab(27% 0.0218 -0.1307)
OKLCHoklch(27% 0.133 279.5)
XYZxyz(3.0975, 1.6769, 12.2146)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1364 #586413
analogous
#132F64 #1F1364 #471364
triadic
#1F1364 #641F13 #13641F
tetradic
#1F1364 #64132F #586413 #136447
square
#1F1364 #64132F #586413 #136447
split-complementary
#1F1364 #644713 #2F6413
monochromatic
#08051A #0F0931 #1F1364 #2F1D97 #3F27CB

Accessibility & contrast

On white

15.73
#1F1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F1364
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1364#FFFFFF#000000##FFFFFF
##1F13641.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.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: #1f1364;
/* rgb */ color: rgb(31, 19, 100);
/* oklch */ color: oklch(27.0% 0.133 279.5);
Tailwind
colors: {
  custom: {
    50: '#665391',
    500: '#1f1364',
    950: '#000000',
  },
}
SCSS
$custom: #1f1364;
$custom-light: #665391;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1364",
  "rgb": {
    "r": 31,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 248.889,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26995,
    "c": 0.1325,
    "h": 279.5
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#1F1364
secondary
#8D9C37
accent
#EB3DD1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1F1364

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

Preview Lab → · Contrast checker → · Palette generator →

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