#1B3D88#1B3D88

#1B3D88 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.132 H 263.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#1B3D88
RGBrgb(27, 61, 136)
HSLhsl(221, 67%, 32%)
HSVhsv(221, 80%, 53%)
CMYKcmyk(80.1%, 55.1%, 0%, 46.7%)
CIE-LABlab(27.70, 16.76, -45.42)
CIE-LCHlch(27.70, 48.41, 290.25°)
OKLaboklab(38.26% -0.0156 -0.1309)
OKLCHoklch(38.26% 0.132 263.2)
XYZxyz(6.5631, 5.3473, 23.9740)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D88 #88661B
analogous
#1B7488 #1B3D88 #2F1B88
triadic
#1B3D88 #881B3D #3D881B
tetradic
#1B3D88 #881B74 #88661B #1B882F
square
#1B3D88 #881B74 #88661B #1B882F
split-complementary
#1B3D88 #882F1B #74881B
monochromatic
#070F22 #112655 #1B3D88 #2554BB #4472DA

Accessibility & contrast

On white

10.15
#1B3D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1B3D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D88
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D88#FFFFFF#000000##FFFFFF
##1B3D881.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3d88;
/* rgb */ color: rgb(27, 61, 136);
/* oklch */ color: oklch(38.3% 0.132 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a71ab',
    500: '#1b3d88',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d88;
$custom-light: #6a71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d88",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 221.284,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38263,
    "c": 0.13186,
    "h": 263.2
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#1B3D88
secondary
#BB9644
accent
#B43EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3D88

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

Preview Lab → · Contrast checker → · Palette generator →

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