#1F15A0#1F15A0

#1F15A0 is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.204 H 271.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#1F15A0
RGBrgb(31, 21, 160)
HSLhsl(244, 77%, 35%)
HSVhsv(244, 87%, 63%)
CMYKcmyk(80.6%, 86.9%, 0%, 37.3%)
CIE-LABlab(21.45, 49.91, -70.48)
CIE-LCHlch(21.45, 86.36, 305.30°)
OKLaboklab(34.51% 0.0042 -0.2039)
OKLCHoklch(34.51% 0.204 271.2)
XYZxyz(7.1763, 3.3649, 33.5222)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F15A0 #96A015
analogous
#1550A0 #1F15A0 #6515A0
triadic
#1F15A0 #A01F15 #15A01F
tetradic
#1F15A0 #A01550 #96A015 #15A065
square
#1F15A0 #A01550 #96A015 #15A065
split-complementary
#1F15A0 #A06515 #50A015
monochromatic
#0A0734 #150E6A #1F15A0 #291CD6 #5448E7

Accessibility & contrast

On white

12.55
#1F15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1F15A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F15A0
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F15A0#FFFFFF#000000##FFFFFF
##1F15A01.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002C9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1f15a0;
/* rgb */ color: rgb(31, 21, 160);
/* oklch */ color: oklch(34.5% 0.204 271.2);
Tailwind
colors: {
  custom: {
    50: '#7559be',
    500: '#1f15a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f15a0;
$custom-light: #7559be;
$custom-dark: #000000;
JSON
{
  "hex": "#1f15a0",
  "rgb": {
    "r": 31,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 244.317,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34511,
    "c": 0.2039,
    "h": 271.2
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#1F15A0
secondary
#BFC849
accent
#F334E6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1F15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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