#1B1370#1B1370

#1B1370 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.149 H 274.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#1B1370
RGBrgb(27, 19, 112)
HSLhsl(245, 71%, 26%)
HSVhsv(245, 83%, 44%)
CMYKcmyk(75.9%, 83%, 0%, 56.1%)
CIE-LABlab(14.78, 35.37, -51.35)
CIE-LCHlch(14.78, 62.36, 304.56°)
OKLaboklab(28.09% 0.0124 -0.1485)
OKLCHoklch(28.09% 0.149 274.8)
XYZxyz(3.6085, 1.8683, 15.4965)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1370 #687013
analogous
#133970 #1B1370 #491370
triadic
#1B1370 #701B13 #13701B
tetradic
#1B1370 #701339 #687013 #137049
square
#1B1370 #701339 #687013 #137049
split-complementary
#1B1370 #704913 #397013
monochromatic
#06041A #0E0A3C #1B1370 #281CA4 #3425D9

Accessibility & contrast

On white

15.29
#1B1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1B1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1370
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1370#FFFFFF#000000##FFFFFF
##1B13701.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b1370;
/* rgb */ color: rgb(27, 19, 112);
/* oklch */ color: oklch(28.1% 0.149 274.8);
Tailwind
colors: {
  custom: {
    50: '#67539a',
    500: '#1b1370',
    950: '#000000',
  },
}
SCSS
$custom: #1b1370;
$custom-light: #67539a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1370",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 245.161,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28091,
    "c": 0.14902,
    "h": 274.8
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#1B1370
secondary
#9DA738
accent
#EE3ADE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B1370

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

Preview Lab → · Contrast checker → · Palette generator →

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