#1F1769#1F1769

#1F1769 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.135 H 277.6°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#1F1769
RGBrgb(31, 23, 105)
HSLhsl(246, 64%, 25%)
HSVhsv(246, 78%, 41%)
CMYKcmyk(70.5%, 78.1%, 0%, 58.8%)
CIE-LABlab(15.08, 31.10, -46.27)
CIE-LCHlch(15.08, 55.75, 303.91°)
OKLaboklab(28.14% 0.0179 -0.1336)
OKLCHoklch(28.14% 0.135 277.6)
XYZxyz(3.4204, 1.9237, 13.5529)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1769 #616917
analogous
#173869 #1F1769 #481769
triadic
#1F1769 #691F17 #17691F
tetradic
#1F1769 #691738 #616917 #176948
square
#1F1769 #691738 #616917 #176948
split-complementary
#1F1769 #694817 #386917
monochromatic
#070519 #100C37 #1F1769 #2E229B #3D2DCD

Accessibility & contrast

On white

15.16
#1F1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1F1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1769
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1769#FFFFFF#000000##FFFFFF
##1F17691.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1f1769;
/* rgb */ color: rgb(31, 23, 105);
/* oklch */ color: oklch(28.1% 0.135 277.6);
Tailwind
colors: {
  custom: {
    50: '#675595',
    500: '#1f1769',
    950: '#000000',
  },
}
SCSS
$custom: #1f1769;
$custom-light: #675595;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1769",
  "rgb": {
    "r": 31,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 245.854,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28143,
    "c": 0.13484,
    "h": 277.6
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#1F1769
secondary
#969F3D
accent
#E741D7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1F1769

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

Preview Lab → · Contrast checker → · Palette generator →

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