#1F1E76#1F1E76

#1F1E76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.144 H 274.3°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1F1E76
RGBrgb(31, 30, 118)
HSLhsl(241, 59%, 29%)
HSVhsv(241, 75%, 46%)
CMYKcmyk(73.7%, 74.6%, 0%, 53.7%)
CIE-LABlab(18.04, 31.40, -49.83)
CIE-LCHlch(18.04, 58.90, 302.22°)
OKLaboklab(30.67% 0.0108 -0.1441)
OKLCHoklch(30.67% 0.144 274.3)
XYZxyz(4.2983, 2.5274, 17.3974)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1E76 #75761E
analogous
#1E4976 #1F1E76 #4B1E76
triadic
#1F1E76 #761F1E #1E761F
tetradic
#1F1E76 #761E49 #75761E #1E764B
square
#1F1E76 #761E49 #75761E #1E764B
split-complementary
#1F1E76 #764B1E #49761E
monochromatic
#060618 #121245 #1F1E76 #2C2AA7 #4240CE

Accessibility & contrast

On white

13.95
#1F1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1F1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1E76
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1E76#FFFFFF#000000##FFFFFF
##1F1E761.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1f1e76;
/* rgb */ color: rgb(31, 30, 118);
/* oklch */ color: oklch(30.7% 0.144 274.3);
Tailwind
colors: {
  custom: {
    50: '#695b9e',
    500: '#1f1e76',
    950: '#000000',
  },
}
SCSS
$custom: #1f1e76;
$custom-light: #695b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1e76",
  "rgb": {
    "r": 31,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 240.682,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30674,
    "c": 0.14449,
    "h": 274.3
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#1F1E76
secondary
#A9AA46
accent
#E345E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1F1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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