#1B4088#1B4088

#1B4088 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.128 H 261.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1B4088
RGBrgb(27, 64, 136)
HSLhsl(220, 67%, 32%)
HSVhsv(220, 80%, 53%)
CMYKcmyk(80.1%, 52.9%, 0%, 46.7%)
CIE-LABlab(28.58, 14.67, -44.00)
CIE-LCHlch(28.58, 46.38, 288.44°)
OKLaboklab(38.93% -0.018 -0.1267)
OKLCHoklch(38.93% 0.128 261.9)
XYZxyz(6.7277, 5.6766, 24.0289)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4088 #88631B
analogous
#1B7788 #1B4088 #2D1B88
triadic
#1B4088 #881B40 #40881B
tetradic
#1B4088 #881B77 #88631B #1B882D
square
#1B4088 #881B77 #88631B #1B882D
split-complementary
#1B4088 #882D1B #77881B
monochromatic
#071022 #112855 #1B4088 #2558BB #4477DA

Accessibility & contrast

On white

9.83
#1B4088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4088
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4088#FFFFFF#000000##FFFFFF
##1B40881.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4088;
/* rgb */ color: rgb(27, 64, 136);
/* oklch */ color: oklch(38.9% 0.128 261.9);
Tailwind
colors: {
  custom: {
    50: '#6a74ab',
    500: '#1b4088',
    950: '#000000',
  },
}
SCSS
$custom: #1b4088;
$custom-light: #6a74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4088",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 219.633,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.12795,
    "h": 261.9
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#1B4088
secondary
#BB9344
accent
#AF3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4088

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

Preview Lab → · Contrast checker → · Palette generator →

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