#1B3385#1B3385

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

Color values

HEX#1B3385
RGBrgb(27, 51, 133)
HSLhsl(226, 66%, 31%)
HSVhsv(226, 80%, 52%)
CMYKcmyk(79.7%, 61.7%, 0%, 47.8%)
CIE-LABlab(24.62, 22.53, -48.57)
CIE-LCHlch(24.62, 53.54, 294.89°)
OKLaboklab(35.87% -0.0084 -0.1403)
OKLCHoklch(35.87% 0.141 266.6)
XYZxyz(5.8680, 4.2935, 22.7052)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3385 #856D1B
analogous
#1B6885 #1B3385 #381B85
triadic
#1B3385 #851B33 #33851B
tetradic
#1B3385 #851B68 #856D1B #1B8538
square
#1B3385 #851B68 #856D1B #1B8538
split-complementary
#1B3385 #85381B #68851B
monochromatic
#060C1F #111F52 #1B3385 #2547B8 #4264D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B3385#FFFFFF#000000##FFFFFF
##1B33851.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)
#004088
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b3385;
/* rgb */ color: rgb(27, 51, 133);
/* oklch */ color: oklch(35.9% 0.141 266.6);
Tailwind
colors: {
  custom: {
    50: '#6a6aa9',
    500: '#1b3385',
    950: '#000000',
  },
}
SCSS
$custom: #1b3385;
$custom-light: #6a6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3385",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 226.415,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.1406,
    "h": 266.6
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#1B3385
secondary
#B89E44
accent
#C33FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3385

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

Preview Lab → · Contrast checker → · Palette generator →

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