#1B137F#1B137F

#1B137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.168 H 272.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#1B137F
RGBrgb(27, 19, 127)
HSLhsl(244, 74%, 29%)
HSVhsv(244, 85%, 50%)
CMYKcmyk(78.7%, 85%, 0%, 50.2%)
CIE-LABlab(16.65, 40.33, -57.89)
CIE-LCHlch(16.65, 70.55, 304.86°)
OKLaboklab(29.93% 0.0084 -0.1675)
OKLCHoklch(29.93% 0.168 272.9)
XYZxyz(4.5144, 2.2306, 20.2672)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B137F #777F13
analogous
#13417F #1B137F #51137F
triadic
#1B137F #7F1B13 #137F1B
tetradic
#1B137F #7F1341 #777F13 #137F51
square
#1B137F #7F1341 #777F13 #137F51
split-complementary
#1B137F #7F5113 #417F13
monochromatic
#06041B #100B4A #1B137F #261BB4 #3A2DE0

Accessibility & contrast

On white

14.52
#1B137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1B137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B137F
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B137F#FFFFFF#000000##FFFFFF
##1B137F1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b137f;
/* rgb */ color: rgb(27, 19, 127);
/* oklch */ color: oklch(29.9% 0.168 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b54a5',
    500: '#1b137f',
    950: '#000000',
  },
}
SCSS
$custom: #1b137f;
$custom-light: #6b54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b137f",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 244.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29934,
    "c": 0.16769,
    "h": 272.9
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#1B137F
secondary
#ABB439
accent
#F137E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1B137F

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

Preview Lab → · Contrast checker → · Palette generator →

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