#1F1EBB#1F1EBB

#1F1EBB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.7% C 0.228 H 269.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#1F1EBB
RGBrgb(31, 30, 187)
HSLhsl(240, 72%, 43%)
HSVhsv(240, 84%, 73%)
CMYKcmyk(83.4%, 84%, 0%, 26.7%)
CIE-LABlab(26.18, 54.22, -78.87)
CIE-LCHlch(26.18, 95.70, 304.51°)
OKLaboklab(38.74% -0.0035 -0.2283)
OKLCHoklch(38.74% 0.228 269.1)
XYZxyz(9.9959, 4.8065, 47.4050)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1EBB #BABB1E
analogous
#1E6CBB #1F1EBB #6D1EBB
triadic
#1F1EBB #BB1F1E #1EBB1F
tetradic
#1F1EBB #BB1E6C #BABB1E #1EBB6D
square
#1F1EBB #BB1E6C #BABB1E #1EBB6D
split-complementary
#1F1EBB #BB6D1E #6CBB1E
monochromatic
#0E0D52 #161686 #1F1EBB #3837DF #6D6CE7

Accessibility & contrast

On white

10.71
#1F1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1F1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F1EBB
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1EBB#FFFFFF#000000##FFFFFF
##1F1EBB1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046BF
Deuteranopia (green-blind)
#0035B8
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f1ebb;
/* rgb */ color: rgb(31, 30, 187);
/* oklch */ color: oklch(38.7% 0.228 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b5fd1',
    500: '#1f1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #1f1ebb;
$custom-light: #7b5fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1ebb",
  "rgb": {
    "r": 31,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 240.382,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.22833,
    "h": 269.1
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#1F1EBB
secondary
#CDCD67
accent
#EF39EE
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #1F1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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