#1B136B#1B136B

#1B136B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.143 H 275.6°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#1B136B
RGBrgb(27, 19, 107)
HSLhsl(245, 70%, 25%)
HSVhsv(245, 82%, 42%)
CMYKcmyk(74.8%, 82.2%, 0%, 58%)
CIE-LABlab(14.17, 33.68, -49.09)
CIE-LCHlch(14.17, 59.53, 304.45°)
OKLaboklab(27.49% 0.0138 -0.1419)
OKLCHoklch(27.49% 0.143 275.6)
XYZxyz(3.3378, 1.7600, 14.0709)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B136B #636B13
analogous
#13376B #1B136B #47136B
triadic
#1B136B #6B1B13 #136B1B
tetradic
#1B136B #6B1337 #636B13 #136B47
square
#1B136B #6B1337 #636B13 #136B47
split-complementary
#1B136B #6B4713 #376B13
monochromatic
#07051A #0E0A37 #1B136B #281C9F #3525D3

Accessibility & contrast

On white

15.53
#1B136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B136B
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B136B#FFFFFF#000000##FFFFFF
##1B136B1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b136b;
/* rgb */ color: rgb(27, 19, 107);
/* oklch */ color: oklch(27.5% 0.143 275.6);
Tailwind
colors: {
  custom: {
    50: '#665396',
    500: '#1b136b',
    950: '#000000',
  },
}
SCSS
$custom: #1b136b;
$custom-light: #665396;
$custom-dark: #000000;
JSON
{
  "hex": "#1b136b",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 245.455,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27489,
    "c": 0.14261,
    "h": 275.6
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#1B136B
secondary
#98A238
accent
#ED3BDD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1B136B

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

Preview Lab → · Contrast checker → · Palette generator →

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