#1B3288#1B3288

#1B3288 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.146 H 267.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#1B3288
RGBrgb(27, 50, 136)
HSLhsl(227, 67%, 32%)
HSVhsv(227, 80%, 53%)
CMYKcmyk(80.1%, 63.2%, 0%, 46.7%)
CIE-LABlab(24.61, 24.42, -50.45)
CIE-LCHlch(24.61, 56.05, 295.83°)
OKLaboklab(35.94% -0.0077 -0.1459)
OKLCHoklch(35.94% 0.146 267)
XYZxyz(6.0350, 4.2911, 23.7980)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3288 #88711B
analogous
#1B6988 #1B3288 #3A1B88
triadic
#1B3288 #881B32 #32881B
tetradic
#1B3288 #881B69 #88711B #1B883A
square
#1B3288 #881B69 #88711B #1B883A
split-complementary
#1B3288 #883A1B #69881B
monochromatic
#070C22 #111F55 #1B3288 #2545BB #4463DA

Accessibility & contrast

On white

11.30
#1B3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3288
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3288#FFFFFF#000000##FFFFFF
##1B32881.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3288;
/* rgb */ color: rgb(27, 50, 136);
/* oklch */ color: oklch(35.9% 0.146 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b69ab',
    500: '#1b3288',
    950: '#000000',
  },
}
SCSS
$custom: #1b3288;
$custom-light: #6b69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3288",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 227.339,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35943,
    "c": 0.1461,
    "h": 267
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#1B3288
secondary
#BBA244
accent
#C63EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1B3288

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

Preview Lab → · Contrast checker → · Palette generator →

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