#1B3D84#1B3D84

#1B3D84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.126 H 262.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#1B3D84
RGBrgb(27, 61, 132)
HSLhsl(221, 66%, 31%)
HSVhsv(221, 80%, 52%)
CMYKcmyk(79.5%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.40, 15.13, -43.43)
CIE-LCHlch(27.40, 45.99, 289.21°)
OKLaboklab(37.93% -0.016 -0.1251)
OKLCHoklch(37.93% 0.126 262.7)
XYZxyz(6.2841, 5.2357, 22.5047)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D84 #84621B
analogous
#1B7184 #1B3D84 #2D1B84
triadic
#1B3D84 #841B3D #3D841B
tetradic
#1B3D84 #841B71 #84621B #1B842D
square
#1B3D84 #841B71 #84621B #1B842D
split-complementary
#1B3D84 #842D1B #71841B
monochromatic
#060E1E #112651 #1B3D84 #2554B7 #4172D8

Accessibility & contrast

On white

10.26
#1B3D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1B3D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D84
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D84#FFFFFF#000000##FFFFFF
##1B3D841.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3d84;
/* rgb */ color: rgb(27, 61, 132);
/* oklch */ color: oklch(37.9% 0.126 262.7);
Tailwind
colors: {
  custom: {
    50: '#6971a8',
    500: '#1b3d84',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d84;
$custom-light: #6971a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d84",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 220.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.12609,
    "h": 262.7
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#1B3D84
secondary
#B79243
accent
#B23FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3D84

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

Preview Lab → · Contrast checker → · Palette generator →

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