#1B1EA0#1B1EA0

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

Color values

HEX#1B1EA0
RGBrgb(27, 30, 160)
HSLhsl(239, 71%, 37%)
HSVhsv(239, 83%, 63%)
CMYKcmyk(83.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(22.65, 45.55, -68.49)
CIE-LCHlch(22.65, 82.25, 303.62°)
OKLaboklab(35.28% -0.002 -0.1984)
OKLCHoklch(35.28% 0.198 269.4)
XYZxyz(7.2593, 3.6988, 33.5822)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1EA0 #A09D1B
analogous
#1B61A0 #1B1EA0 #5B1BA0
triadic
#1B1EA0 #A01B1E #1EA01B
tetradic
#1B1EA0 #A01B61 #A09D1B #1BA05B
square
#1B1EA0 #A01B61 #A09D1B #1BA05B
split-complementary
#1B1EA0 #A05B1B #61A01B
monochromatic
#090A37 #12146C #1B1EA0 #2428D4 #5357E2

Accessibility & contrast

On white

12.07
#1B1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1EA0
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1EA0#FFFFFF#000000##FFFFFF
##1B1EA01.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1ea0;
/* rgb */ color: rgb(27, 30, 160);
/* oklch */ color: oklch(35.3% 0.198 269.4);
Tailwind
colors: {
  custom: {
    50: '#735dbe',
    500: '#1b1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1b1ea0;
$custom-light: #735dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1ea0",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 238.647,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35283,
    "c": 0.19837,
    "h": 269.4
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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