#1B3E88#1B3E88

#1B3E88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.131 H 262.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1B3E88
RGBrgb(27, 62, 136)
HSLhsl(221, 67%, 32%)
HSVhsv(221, 80%, 53%)
CMYKcmyk(80.1%, 54.4%, 0%, 46.7%)
CIE-LABlab(27.99, 16.06, -44.95)
CIE-LCHlch(27.99, 47.73, 289.66°)
OKLaboklab(38.48% -0.0164 -0.1295)
OKLCHoklch(38.48% 0.131 262.8)
XYZxyz(6.6170, 5.4551, 23.9920)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E88 #88651B
analogous
#1B7588 #1B3E88 #2F1B88
triadic
#1B3E88 #881B3E #3E881B
tetradic
#1B3E88 #881B75 #88651B #1B882F
square
#1B3E88 #881B75 #88651B #1B882F
split-complementary
#1B3E88 #882F1B #75881B
monochromatic
#070F22 #112755 #1B3E88 #2555BB #4474DA

Accessibility & contrast

On white

10.04
#1B3E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B3E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E88
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E88#FFFFFF#000000##FFFFFF
##1B3E881.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478B
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3e88;
/* rgb */ color: rgb(27, 62, 136);
/* oklch */ color: oklch(38.5% 0.131 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a72ab',
    500: '#1b3e88',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e88;
$custom-light: #6a72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e88",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 220.734,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.13055,
    "h": 262.8
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#1B3E88
secondary
#BB9544
accent
#B33EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3E88

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

Preview Lab → · Contrast checker → · Palette generator →

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