#1B166E#1B166E

#1B166E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.144 H 274.6°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#1B166E
RGBrgb(27, 22, 110)
HSLhsl(243, 67%, 26%)
HSVhsv(243, 80%, 43%)
CMYKcmyk(75.5%, 80%, 0%, 56.9%)
CIE-LABlab(15.13, 33.00, -49.47)
CIE-LCHlch(15.13, 59.47, 303.70°)
OKLaboklab(28.26% 0.0115 -0.1431)
OKLCHoklch(28.26% 0.144 274.6)
XYZxyz(3.5524, 1.9323, 14.9346)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B166E #696E16
analogous
#163D6E #1B166E #47166E
triadic
#1B166E #6E1B16 #166E1B
tetradic
#1B166E #6E163D #696E16 #166E47
square
#1B166E #6E163D #696E16 #166E47
split-complementary
#1B166E #6E4716 #3D6E16
monochromatic
#06051A #0E0C3B #1B166E #2820A1 #342AD4

Accessibility & contrast

On white

15.14
#1B166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B166E
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B166E#FFFFFF#000000##FFFFFF
##1B166E1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b166e;
/* rgb */ color: rgb(27, 22, 110);
/* oklch */ color: oklch(28.3% 0.144 274.6);
Tailwind
colors: {
  custom: {
    50: '#665599',
    500: '#1b166e',
    950: '#000000',
  },
}
SCSS
$custom: #1b166e;
$custom-light: #665599;
$custom-dark: #000000;
JSON
{
  "hex": "#1b166e",
  "rgb": {
    "r": 27,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 243.409,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.14355,
    "h": 274.6
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#1B166E
secondary
#9EA43C
accent
#EA3EE0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B166E

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

Preview Lab → · Contrast checker → · Palette generator →

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