#1B137C#1B137C

#1B137C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.164 H 273.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1B137C
RGBrgb(27, 19, 124)
HSLhsl(245, 73%, 28%)
HSVhsv(245, 85%, 49%)
CMYKcmyk(78.2%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.27, 39.35, -56.61)
CIE-LCHlch(16.27, 68.95, 304.80°)
OKLaboklab(29.56% 0.0092 -0.1638)
OKLCHoklch(29.56% 0.164 273.2)
XYZxyz(4.3217, 2.1535, 19.2528)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B137C #747C13
analogous
#13407C #1B137C #4F137C
triadic
#1B137C #7C1B13 #137C1B
tetradic
#1B137C #7C1340 #747C13 #137C4F
square
#1B137C #7C1340 #747C13 #137C4F
split-complementary
#1B137C #7C4F13 #407C13
monochromatic
#06041B #0F0B47 #1B137C #271BB1 #392BDF

Accessibility & contrast

On white

14.68
#1B137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B137C
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B137C#FFFFFF#000000##FFFFFF
##1B137C1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b137c;
/* rgb */ color: rgb(27, 19, 124);
/* oklch */ color: oklch(29.6% 0.164 273.2);
Tailwind
colors: {
  custom: {
    50: '#6a54a3',
    500: '#1b137c',
    950: '#000000',
  },
}
SCSS
$custom: #1b137c;
$custom-light: #6a54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b137c",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 244.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29561,
    "c": 0.16402,
    "h": 273.2
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#1B137C
secondary
#A9B239
accent
#F038E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1B137C

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

Preview Lab → · Contrast checker → · Palette generator →

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