#1F106F#1F106F

#1F106F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.149 H 277.7°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#1F106F
RGBrgb(31, 16, 111)
HSLhsl(249, 75%, 25%)
HSVhsv(249, 86%, 44%)
CMYKcmyk(72.1%, 85.6%, 0%, 56.5%)
CIE-LABlab(14.45, 36.94, -51.23)
CIE-LCHlch(14.45, 63.16, 305.80°)
OKLaboklab(27.91% 0.0201 -0.148)
OKLCHoklch(27.91% 0.149 277.7)
XYZxyz(3.6187, 1.8093, 15.1944)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F106F #606F10
analogous
#10306F #1F106F #4F106F
triadic
#1F106F #6F1F10 #106F1F
tetradic
#1F106F #6F1030 #606F10 #106F4F
square
#1F106F #6F1030 #606F10 #106F4F
split-complementary
#1F106F #6F4F10 #306F10
monochromatic
#07041B #10083A #1F106F #2E18A4 #3D1FDA

Accessibility & contrast

On white

15.42
#1F106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1F106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F106F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F106F#FFFFFF#000000##FFFFFF
##1F106F1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1f106f;
/* rgb */ color: rgb(31, 16, 111);
/* oklch */ color: oklch(27.9% 0.149 277.7);
Tailwind
colors: {
  custom: {
    50: '#695299',
    500: '#1f106f',
    950: '#000000',
  },
}
SCSS
$custom: #1f106f;
$custom-light: #695299;
$custom-dark: #000000;
JSON
{
  "hex": "#1f106f",
  "rgb": {
    "r": 31,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 249.474,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27911,
    "c": 0.14936,
    "h": 277.7
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#1F106F
secondary
#95A734
accent
#F136D4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1F106F

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

Preview Lab → · Contrast checker → · Palette generator →

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