#1F1EA0#1F1EA0

#1F1EA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.197 H 270.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1F1EA0
RGBrgb(31, 30, 160)
HSLhsl(240, 68%, 37%)
HSVhsv(240, 81%, 63%)
CMYKcmyk(80.6%, 81.3%, 0%, 37.3%)
CIE-LABlab(22.85, 45.77, -68.15)
CIE-LCHlch(22.85, 82.09, 303.89°)
OKLaboklab(35.48% 0.0023 -0.1973)
OKLCHoklch(35.48% 0.197 270.7)
XYZxyz(7.3724, 3.7571, 33.5875)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1EA0 #9FA01E
analogous
#1E5EA0 #1F1EA0 #601EA0
triadic
#1F1EA0 #A01F1E #1EA01F
tetradic
#1F1EA0 #A01E5E #9FA01E #1EA060
square
#1F1EA0 #A01E5E #9FA01E #1EA060
split-complementary
#1F1EA0 #A0601E #5EA01E
monochromatic
#0B0B39 #15146C #1F1EA0 #2928D4 #5A59E0

Accessibility & contrast

On white

11.99
#1F1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1F1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1EA0
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1EA0#FFFFFF#000000##FFFFFF
##1F1EA01.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f1ea0;
/* rgb */ color: rgb(31, 30, 160);
/* oklch */ color: oklch(35.5% 0.197 270.7);
Tailwind
colors: {
  custom: {
    50: '#745dbd',
    500: '#1f1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1f1ea0;
$custom-light: #745dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1ea0",
  "rgb": {
    "r": 31,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 240.462,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.19732,
    "h": 270.7
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#1F1EA0
secondary
#C3C456
accent
#EB3DEA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1F1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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