#1F144E#1F144E

#1F144E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.101 H 285.0°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#1F144E
RGBrgb(31, 20, 78)
HSLhsl(251, 59%, 19%)
HSVhsv(251, 74%, 31%)
CMYKcmyk(60.3%, 74.4%, 0%, 69.4%)
CIE-LABlab(11.56, 23.47, -33.91)
CIE-LCHlch(11.56, 41.24, 304.69°)
OKLaboklab(24.77% 0.0262 -0.0975)
OKLCHoklch(24.77% 0.101 285)
XYZxyz(2.1900, 1.3416, 7.3498)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F144E #434E14
analogous
#14264E #1F144E #3C144E
triadic
#1F144E #4E1F14 #144E1F
tetradic
#1F144E #4E1426 #434E14 #144E3C
square
#1F144E #4E1426 #434E14 #144E3C
split-complementary
#1F144E #4E3C14 #264E14
monochromatic
#0A0618 #0C081D #1F144E #32207F #462DAF

Accessibility & contrast

On white

16.56
#1F144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1F144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F144E
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F144E#FFFFFF#000000##FFFFFF
##1F144E1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#0A232F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1f144e;
/* rgb */ color: rgb(31, 20, 78);
/* oklch */ color: oklch(24.8% 0.101 285.0);
Tailwind
colors: {
  custom: {
    50: '#615280',
    500: '#1f144e',
    950: '#000000',
  },
}
SCSS
$custom: #1f144e;
$custom-light: #615280;
$custom-dark: #000000;
JSON
{
  "hex": "#1f144e",
  "rgb": {
    "r": 31,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 251.379,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24772,
    "c": 0.10093,
    "h": 285
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#1F144E
secondary
#778638
accent
#E245C5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1F144E

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

Preview Lab → · Contrast checker → · Palette generator →

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