#1B137E#1B137E

#1B137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.166 H 273.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#1B137E
RGBrgb(27, 19, 126)
HSLhsl(244, 74%, 28%)
HSVhsv(244, 85%, 49%)
CMYKcmyk(78.6%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.53, 40.00, -57.47)
CIE-LCHlch(16.53, 70.02, 304.84°)
OKLaboklab(29.81% 0.0086 -0.1662)
OKLCHoklch(29.81% 0.166 273)
XYZxyz(4.4495, 2.2046, 19.9257)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B137E #767E13
analogous
#13407E #1B137E #50137E
triadic
#1B137E #7E1B13 #137E1B
tetradic
#1B137E #7E1340 #767E13 #137E50
square
#1B137E #7E1340 #767E13 #137E50
split-complementary
#1B137E #7E5013 #407E13
monochromatic
#06041B #100B49 #1B137E #261BB3 #3A2CDF

Accessibility & contrast

On white

14.57
#1B137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1B137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B137E
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B137E#FFFFFF#000000##FFFFFF
##1B137E1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b137e;
/* rgb */ color: rgb(27, 19, 126);
/* oklch */ color: oklch(29.8% 0.166 273.0);
Tailwind
colors: {
  custom: {
    50: '#6b54a5',
    500: '#1b137e',
    950: '#000000',
  },
}
SCSS
$custom: #1b137e;
$custom-light: #6b54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b137e",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 244.486,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.16646,
    "h": 273
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#1B137E
secondary
#AAB439
accent
#F037E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1B137E

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

Preview Lab → · Contrast checker → · Palette generator →

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