#1F109F#1F109F

#1F109F is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.206 H 271.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1F109F
RGBrgb(31, 16, 159)
HSLhsl(246, 82%, 34%)
HSVhsv(246, 90%, 62%)
CMYKcmyk(80.5%, 89.9%, 0%, 37.6%)
CIE-LABlab(20.69, 51.50, -71.13)
CIE-LCHlch(20.69, 87.82, 305.90°)
OKLaboklab(33.96% 0.0052 -0.2056)
OKLCHoklch(33.96% 0.206 271.5)
XYZxyz(7.0063, 3.1643, 33.0357)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F109F #909F10
analogous
#10489F #1F109F #67109F
triadic
#1F109F #9F1F10 #109F1F
tetradic
#1F109F #9F1048 #909F10 #109F67
square
#1F109F #9F1048 #909F10 #109F67
split-complementary
#1F109F #9F6710 #489F10
monochromatic
#090530 #140A67 #1F109F #2A16D7 #503EEC

Accessibility & contrast

On white

12.86
#1F109F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1F109F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F109F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F109F#FFFFFF#000000##FFFFFF
##1F109F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0038A3
Deuteranopia (green-blind)
#002B9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1f109f;
/* rgb */ color: rgb(31, 16, 159);
/* oklch */ color: oklch(34.0% 0.206 271.5);
Tailwind
colors: {
  custom: {
    50: '#7556bd',
    500: '#1f109f',
    950: '#000000',
  },
}
SCSS
$custom: #1f109f;
$custom-light: #7556bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f109f",
  "rgb": {
    "r": 31,
    "g": 16,
    "b": 159
  },
  "hsl": {
    "h": 246.294,
    "s": 81.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.20571,
    "h": 271.5
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#1F109F
secondary
#BCCB40
accent
#F830E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1F109F

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

Preview Lab → · Contrast checker → · Palette generator →

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