#1B1374#1B1374

#1B1374 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.154 H 274.2°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#1B1374
RGBrgb(27, 19, 116)
HSLhsl(245, 72%, 26%)
HSVhsv(245, 84%, 45%)
CMYKcmyk(76.7%, 83.6%, 0%, 54.5%)
CIE-LABlab(15.27, 36.72, -53.13)
CIE-LCHlch(15.27, 64.58, 304.65°)
OKLaboklab(28.58% 0.0114 -0.1537)
OKLCHoklch(28.58% 0.154 274.2)
XYZxyz(3.8362, 1.9593, 16.6956)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1374 #6C7413
analogous
#133C74 #1B1374 #4C1374
triadic
#1B1374 #741B13 #13741B
tetradic
#1B1374 #74133C #6C7413 #13744C
square
#1B1374 #74133C #6C7413 #13744C
split-complementary
#1B1374 #744C13 #3C7413
monochromatic
#06041A #0F0A3F #1B1374 #271CA9 #3526DB

Accessibility & contrast

On white

15.09
#1B1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1B1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1374
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1374#FFFFFF#000000##FFFFFF
##1B13741.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b1374;
/* rgb */ color: rgb(27, 19, 116);
/* oklch */ color: oklch(28.6% 0.154 274.2);
Tailwind
colors: {
  custom: {
    50: '#68549d',
    500: '#1b1374',
    950: '#000000',
  },
}
SCSS
$custom: #1b1374;
$custom-light: #68549d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1374",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 244.948,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28577,
    "c": 0.15409,
    "h": 274.2
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#1B1374
secondary
#A1AA38
accent
#EF39E0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1374

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

Preview Lab → · Contrast checker → · Palette generator →

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