#1B37A1#1B37A1

#1B37A1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.174 H 266.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1B37A1
RGBrgb(27, 55, 161)
HSLhsl(227, 71%, 37%)
HSVhsv(227, 83%, 63%)
CMYKcmyk(83.2%, 65.8%, 0%, 36.9%)
CIE-LABlab(28.21, 30.79, -59.91)
CIE-LCHlch(28.21, 67.36, 297.20°)
OKLaboklab(39.31% -0.0111 -0.1735)
OKLCHoklch(39.31% 0.174 266.3)
XYZxyz(8.2489, 5.5376, 34.3454)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B37A1 #A1851B
analogous
#1B7AA1 #1B37A1 #421BA1
triadic
#1B37A1 #A11B37 #37A11B
tetradic
#1B37A1 #A11B7A #A1851B #1BA142
square
#1B37A1 #A11B7A #A1851B #1BA142
split-complementary
#1B37A1 #A1421B #7AA11B
monochromatic
#091338 #12256D #1B37A1 #2449D5 #5472E2

Accessibility & contrast

On white

9.96
#1B37A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B37A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B37A1
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B37A1#FFFFFF#000000##FFFFFF
##1B37A11.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b37a1;
/* rgb */ color: rgb(27, 55, 161);
/* oklch */ color: oklch(39.3% 0.174 266.3);
Tailwind
colors: {
  custom: {
    50: '#716dbe',
    500: '#1b37a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b37a1;
$custom-light: #716dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1b37a1",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 227.463,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39311,
    "c": 0.17387,
    "h": 266.3
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#1B37A1
secondary
#C5AD52
accent
#C83AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1B37A1

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

Preview Lab → · Contrast checker → · Palette generator →

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