#1F1969#1F1969

#1F1969 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.133 H 277.2°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1F1969
RGBrgb(31, 25, 105)
HSLhsl(245, 62%, 25%)
HSVhsv(245, 76%, 41%)
CMYKcmyk(70.5%, 76.2%, 0%, 58.8%)
CIE-LABlab(15.52, 29.88, -45.55)
CIE-LCHlch(15.52, 54.47, 303.26°)
OKLaboklab(28.45% 0.0165 -0.1316)
OKLCHoklch(28.45% 0.133 277.2)
XYZxyz(3.4617, 2.0062, 13.5667)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1969 #636919
analogous
#193B69 #1F1969 #471969
triadic
#1F1969 #691F19 #19691F
tetradic
#1F1969 #69193B #636919 #196947
square
#1F1969 #69193B #636919 #196947
split-complementary
#1F1969 #694719 #3B6919
monochromatic
#070619 #100D38 #1F1969 #2E259A #3C31CC

Accessibility & contrast

On white

14.99
#1F1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1F1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1969
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1969#FFFFFF#000000##FFFFFF
##1F19691.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1f1969;
/* rgb */ color: rgb(31, 25, 105);
/* oklch */ color: oklch(28.5% 0.133 277.2);
Tailwind
colors: {
  custom: {
    50: '#665795',
    500: '#1f1969',
    950: '#000000',
  },
}
SCSS
$custom: #1f1969;
$custom-light: #665795;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1969",
  "rgb": {
    "r": 31,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 244.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28454,
    "c": 0.13259,
    "h": 277.2
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#1F1969
secondary
#989F3F
accent
#E543D9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1F1969

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

Preview Lab → · Contrast checker → · Palette generator →

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