#1B136C#1B136C

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

Color values

HEX#1B136C
RGBrgb(27, 19, 108)
HSLhsl(245, 70%, 25%)
HSVhsv(245, 82%, 42%)
CMYKcmyk(75%, 82.4%, 0%, 57.6%)
CIE-LABlab(14.29, 34.02, -49.55)
CIE-LCHlch(14.29, 60.10, 304.47°)
OKLaboklab(27.61% 0.0135 -0.1433)
OKLCHoklch(27.61% 0.144 275.4)
XYZxyz(3.3907, 1.7811, 14.3495)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B136C #646C13
analogous
#13386C #1B136C #47136C
triadic
#1B136C #6C1B13 #136C1B
tetradic
#1B136C #6C1338 #646C13 #136C47
square
#1B136C #6C1338 #646C13 #136C47
split-complementary
#1B136C #6C4713 #386C13
monochromatic
#07051A #0E0A38 #1B136C #281CA0 #3525D4

Accessibility & contrast

On white

15.48
#1B136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1B136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B136C
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B136C#FFFFFF#000000##FFFFFF
##1B136C1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b136c;
/* rgb */ color: rgb(27, 19, 108);
/* oklch */ color: oklch(27.6% 0.144 275.4);
Tailwind
colors: {
  custom: {
    50: '#665397',
    500: '#1b136c',
    950: '#000000',
  },
}
SCSS
$custom: #1b136c;
$custom-light: #665397;
$custom-dark: #000000;
JSON
{
  "hex": "#1b136c",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 245.393,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27609,
    "c": 0.1439,
    "h": 275.4
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#1B136C
secondary
#99A338
accent
#ED3BDD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B136C

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

Preview Lab → · Contrast checker → · Palette generator →

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