#1B137D#1B137D

#1B137D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.165 H 273.1°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1B137D
RGBrgb(27, 19, 125)
HSLhsl(245, 74%, 28%)
HSVhsv(245, 85%, 49%)
CMYKcmyk(78.4%, 84.8%, 0%, 51%)
CIE-LABlab(16.40, 39.68, -57.04)
CIE-LCHlch(16.40, 69.48, 304.82°)
OKLaboklab(29.69% 0.0089 -0.165)
OKLCHoklch(29.69% 0.165 273.1)
XYZxyz(4.3853, 2.1790, 19.5875)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B137D #757D13
analogous
#13407D #1B137D #50137D
triadic
#1B137D #7D1B13 #137D1B
tetradic
#1B137D #7D1340 #757D13 #137D50
square
#1B137D #7D1340 #757D13 #137D50
split-complementary
#1B137D #7D5013 #407D13
monochromatic
#06041B #100B48 #1B137D #261BB2 #392CDF

Accessibility & contrast

On white

14.63
#1B137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B137D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B137D#FFFFFF#000000##FFFFFF
##1B137D1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b137d;
/* rgb */ color: rgb(27, 19, 125);
/* oklch */ color: oklch(29.7% 0.165 273.1);
Tailwind
colors: {
  custom: {
    50: '#6b54a4',
    500: '#1b137d',
    950: '#000000',
  },
}
SCSS
$custom: #1b137d;
$custom-light: #6b54a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b137d",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 244.528,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.16524,
    "h": 273.1
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#1B137D
secondary
#A9B339
accent
#F038E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1B137D

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

Preview Lab → · Contrast checker → · Palette generator →

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