#1F1E89#1F1E89

#1F1E89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.169 H 272.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1F1E89
RGBrgb(31, 30, 137)
HSLhsl(241, 64%, 33%)
HSVhsv(241, 78%, 54%)
CMYKcmyk(77.4%, 78.1%, 0%, 46.3%)
CIE-LABlab(20.15, 38.10, -58.42)
CIE-LCHlch(20.15, 69.74, 303.11°)
OKLaboklab(32.79% 0.0071 -0.1691)
OKLCHoklch(32.79% 0.169 272.4)
XYZxyz(5.5432, 3.0254, 23.9539)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1E89 #88891E
analogous
#1E5289 #1F1E89 #551E89
triadic
#1F1E89 #891F1E #1E891F
tetradic
#1F1E89 #891E52 #88891E #1E8955
square
#1F1E89 #891E52 #88891E #1E8955
split-complementary
#1F1E89 #89551E #52891E
monochromatic
#080825 #141357 #1F1E89 #2A29BB #4B4AD7

Accessibility & contrast

On white

13.08
#1F1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1F1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1E89
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1E89#FFFFFF#000000##FFFFFF
##1F1E891.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f1e89;
/* rgb */ color: rgb(31, 30, 137);
/* oklch */ color: oklch(32.8% 0.169 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e5cad',
    500: '#1f1e89',
    950: '#000000',
  },
}
SCSS
$custom: #1f1e89;
$custom-light: #6e5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1e89",
  "rgb": {
    "r": 31,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 240.561,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.16922,
    "h": 272.4
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#1F1E89
secondary
#B9BA49
accent
#E741E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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