#1F1EBE#1F1EBE

#1F1EBE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 39.1% C 0.232 H 269.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#1F1EBE
RGBrgb(31, 30, 190)
HSLhsl(240, 73%, 43%)
HSVhsv(240, 84%, 75%)
CMYKcmyk(83.7%, 84.2%, 0%, 25.5%)
CIE-LABlab(26.55, 55.12, -80.02)
CIE-LCHlch(26.55, 97.17, 304.56°)
OKLaboklab(39.1% -0.0041 -0.2316)
OKLCHoklch(39.1% 0.232 269)
XYZxyz(10.3204, 4.9363, 49.1141)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1EBE #BDBE1E
analogous
#1E6DBE #1F1EBE #6F1EBE
triadic
#1F1EBE #BE1F1E #1EBE1F
tetradic
#1F1EBE #BE1E6D #BDBE1E #1EBE6F
square
#1F1EBE #BE1E6D #BDBE1E #1EBE6F
split-complementary
#1F1EBE #BE6F1E #6DBE1E
monochromatic
#0E0D54 #161689 #1F1EBE #3A39E0 #6F6EE8

Accessibility & contrast

On white

10.57
#1F1EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1F1EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1EBE
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1EBE#FFFFFF#000000##FFFFFF
##1F1EBE1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C2
Deuteranopia (green-blind)
#0036BB
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f1ebe;
/* rgb */ color: rgb(31, 30, 190);
/* oklch */ color: oklch(39.1% 0.232 269.0);
Tailwind
colors: {
  custom: {
    50: '#7c5fd3',
    500: '#1f1ebe',
    950: '#000000',
  },
}
SCSS
$custom: #1f1ebe;
$custom-light: #7c5fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1ebe",
  "rgb": {
    "r": 31,
    "g": 30,
    "b": 190
  },
  "hsl": {
    "h": 240.375,
    "s": 72.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39102,
    "c": 0.23166,
    "h": 269
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#1F1EBE
secondary
#CECE69
accent
#EF38EE
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #1F1EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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