#1B137B#1B137B

#1B137B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.163 H 273.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1B137B
RGBrgb(27, 19, 123)
HSLhsl(245, 73%, 28%)
HSVhsv(245, 85%, 48%)
CMYKcmyk(78%, 84.6%, 0%, 51.8%)
CIE-LABlab(16.15, 39.03, -56.18)
CIE-LCHlch(16.15, 68.41, 304.78°)
OKLaboklab(29.44% 0.0094 -0.1625)
OKLCHoklch(29.44% 0.163 273.3)
XYZxyz(4.2588, 2.1284, 18.9214)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B137B #737B13
analogous
#133F7B #1B137B #4F137B
triadic
#1B137B #7B1B13 #137B1B
tetradic
#1B137B #7B133F #737B13 #137B4F
square
#1B137B #7B133F #737B13 #137B4F
split-complementary
#1B137B #7B4F13 #3F7B13
monochromatic
#06041B #0F0B46 #1B137B #271BB0 #382ADE

Accessibility & contrast

On white

14.73
#1B137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B137B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B137B#FFFFFF#000000##FFFFFF
##1B137B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b137b;
/* rgb */ color: rgb(27, 19, 123);
/* oklch */ color: oklch(29.4% 0.163 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a54a2',
    500: '#1b137b',
    950: '#000000',
  },
}
SCSS
$custom: #1b137b;
$custom-light: #6a54a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b137b",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 244.615,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29438,
    "c": 0.16279,
    "h": 273.3
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#1B137B
secondary
#A8B139
accent
#F038E2
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1B137B

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

Preview Lab → · Contrast checker → · Palette generator →

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