#1B3F88#1B3F88

#1B3F88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.129 H 262.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1B3F88
RGBrgb(27, 63, 136)
HSLhsl(220, 67%, 32%)
HSVhsv(220, 80%, 53%)
CMYKcmyk(80.1%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.29, 15.36, -44.47)
CIE-LCHlch(28.29, 47.05, 289.06°)
OKLaboklab(38.71% -0.0172 -0.1281)
OKLCHoklch(38.71% 0.129 262.4)
XYZxyz(6.6718, 5.5648, 24.0103)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F88 #88641B
analogous
#1B7688 #1B3F88 #2D1B88
triadic
#1B3F88 #881B3F #3F881B
tetradic
#1B3F88 #881B76 #88641B #1B882D
square
#1B3F88 #881B76 #88641B #1B882D
split-complementary
#1B3F88 #882D1B #76881B
monochromatic
#071022 #112755 #1B3F88 #2557BB #4475DA

Accessibility & contrast

On white

9.94
#1B3F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3F88
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F88#FFFFFF#000000##FFFFFF
##1B3F881.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3f88;
/* rgb */ color: rgb(27, 63, 136);
/* oklch */ color: oklch(38.7% 0.129 262.4);
Tailwind
colors: {
  custom: {
    50: '#6a73ab',
    500: '#1b3f88',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f88;
$custom-light: #6a73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f88",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 220.183,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38707,
    "c": 0.12925,
    "h": 262.4
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#1B3F88
secondary
#BB9444
accent
#B13EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3F88

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

Preview Lab → · Contrast checker → · Palette generator →

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