#1B146D#1B146D

#1B146D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.144 H 275.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#1B146D
RGBrgb(27, 20, 109)
HSLhsl(245, 69%, 25%)
HSVhsv(245, 82%, 43%)
CMYKcmyk(75.2%, 81.7%, 0%, 57.3%)
CIE-LABlab(14.61, 33.80, -49.68)
CIE-LCHlch(14.61, 60.09, 304.23°)
OKLaboklab(27.86% 0.0128 -0.1437)
OKLCHoklch(27.86% 0.144 275.1)
XYZxyz(3.4616, 1.8371, 14.6372)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B146D #666D14
analogous
#14396D #1B146D #47146D
triadic
#1B146D #6D1B14 #146D1B
tetradic
#1B146D #6D1439 #666D14 #146D47
square
#1B146D #6D1439 #666D14 #146D47
split-complementary
#1B146D #6D4714 #396D14
monochromatic
#06051A #0E0B39 #1B146D #281DA1 #3527D4

Accessibility & contrast

On white

15.36
#1B146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B146D
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B146D#FFFFFF#000000##FFFFFF
##1B146D1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b146d;
/* rgb */ color: rgb(27, 20, 109);
/* oklch */ color: oklch(27.9% 0.144 275.1);
Tailwind
colors: {
  custom: {
    50: '#665498',
    500: '#1b146d',
    950: '#000000',
  },
}
SCSS
$custom: #1b146d;
$custom-light: #665498;
$custom-dark: #000000;
JSON
{
  "hex": "#1b146d",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 244.719,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27864,
    "c": 0.14424,
    "h": 275.1
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#1B146D
secondary
#9BA439
accent
#EC3CDE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B146D

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

Preview Lab → · Contrast checker → · Palette generator →

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