#1B156F#1B156F

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

Color values

HEX#1B156F
RGBrgb(27, 21, 111)
HSLhsl(244, 68%, 26%)
HSVhsv(244, 81%, 44%)
CMYKcmyk(75.7%, 81.1%, 0%, 56.5%)
CIE-LABlab(15.04, 33.93, -50.26)
CIE-LCHlch(15.04, 60.64, 304.02°)
OKLaboklab(28.24% 0.0118 -0.1454)
OKLCHoklch(28.24% 0.146 274.6)
XYZxyz(3.5885, 1.9167, 15.2167)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B156F #696F15
analogous
#153C6F #1B156F #48156F
triadic
#1B156F #6F1B15 #156F1B
tetradic
#1B156F #6F153C #696F15 #156F48
square
#1B156F #6F153C #696F15 #156F48
split-complementary
#1B156F #6F4815 #3C6F15
monochromatic
#06051A #0E0B3C #1B156F #281FA2 #3428D6

Accessibility & contrast

On white

15.18
#1B156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1B156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B156F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B156F#FFFFFF#000000##FFFFFF
##1B156F1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b156f;
/* rgb */ color: rgb(27, 21, 111);
/* oklch */ color: oklch(28.2% 0.146 274.6);
Tailwind
colors: {
  custom: {
    50: '#675499',
    500: '#1b156f',
    950: '#000000',
  },
}
SCSS
$custom: #1b156f;
$custom-light: #675499;
$custom-dark: #000000;
JSON
{
  "hex": "#1b156f",
  "rgb": {
    "r": 27,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 244,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2824,
    "c": 0.14586,
    "h": 274.6
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#1B156F
secondary
#9EA53A
accent
#EB3DDF
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B156F

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

Preview Lab → · Contrast checker → · Palette generator →

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