#1F1360#1F1360

#1F1360 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.127 H 280.4°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1F1360
RGBrgb(31, 19, 96)
HSLhsl(249, 67%, 23%)
HSVhsv(249, 80%, 38%)
CMYKcmyk(67.7%, 80.2%, 0%, 62.4%)
CIE-LABlab(13.24, 30.36, -43.35)
CIE-LCHlch(13.24, 52.93, 305.01°)
OKLaboklab(26.54% 0.0229 -0.1251)
OKLCHoklch(26.54% 0.127 280.4)
XYZxyz(2.9086, 1.6014, 11.2199)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1360 #546013
analogous
#132D60 #1F1360 #461360
triadic
#1F1360 #601F13 #13601F
tetradic
#1F1360 #60132D #546013 #136046
square
#1F1360 #60132D #546013 #136046
split-complementary
#1F1360 #604613 #2D6013
monochromatic
#08051A #0F092D #1F1360 #2F1D93 #4027C6

Accessibility & contrast

On white

15.90
#1F1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1F1360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1360
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1360#FFFFFF#000000##FFFFFF
##1F13601.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1f1360;
/* rgb */ color: rgb(31, 19, 96);
/* oklch */ color: oklch(26.5% 0.127 280.4);
Tailwind
colors: {
  custom: {
    50: '#65528e',
    500: '#1f1360',
    950: '#000000',
  },
}
SCSS
$custom: #1f1360;
$custom-light: #65528e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1360",
  "rgb": {
    "r": 31,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 249.351,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26541,
    "c": 0.12719,
    "h": 280.4
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#1F1360
secondary
#899837
accent
#EA3ECF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1F1360

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

Preview Lab → · Contrast checker → · Palette generator →

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