#1B1EA1#1B1EA1

#1B1EA1 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.200 H 269.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1B1EA1
RGBrgb(27, 30, 161)
HSLhsl(239, 71%, 37%)
HSVhsv(239, 83%, 63%)
CMYKcmyk(83.2%, 81.4%, 0%, 36.9%)
CIE-LABlab(22.77, 45.87, -68.90)
CIE-LCHlch(22.77, 82.77, 303.66°)
OKLaboklab(35.4% -0.0022 -0.1995)
OKLCHoklch(35.4% 0.2 269.4)
XYZxyz(7.3471, 3.7339, 34.0448)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1EA1 #A19E1B
analogous
#1B61A1 #1B1EA1 #5B1BA1
triadic
#1B1EA1 #A11B1E #1EA11B
tetradic
#1B1EA1 #A11B61 #A19E1B #1BA15B
square
#1B1EA1 #A11B61 #A19E1B #1BA15B
split-complementary
#1B1EA1 #A15B1B #61A11B
monochromatic
#090A38 #12146D #1B1EA1 #2428D5 #5457E2

Accessibility & contrast

On white

12.02
#1B1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1EA1
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1EA1#FFFFFF#000000##FFFFFF
##1B1EA11.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b1ea1;
/* rgb */ color: rgb(27, 30, 161);
/* oklch */ color: oklch(35.4% 0.200 269.4);
Tailwind
colors: {
  custom: {
    50: '#735dbe',
    500: '#1b1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1b1ea1;
$custom-light: #735dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1ea1",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 238.657,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35404,
    "c": 0.19955,
    "h": 269.4
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#1B1EA1
secondary
#C5C352
accent
#EA3AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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