#1B4392#1B4392

#1B4392 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.138 H 262.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1B4392
RGBrgb(27, 67, 146)
HSLhsl(220, 69%, 34%)
HSVhsv(220, 82%, 57%)
CMYKcmyk(81.5%, 54.1%, 0%, 42.7%)
CIE-LABlab(30.21, 16.66, -47.52)
CIE-LCHlch(30.21, 50.35, 289.32°)
OKLaboklab(40.41% -0.0191 -0.137)
OKLCHoklch(40.41% 0.138 262)
XYZxyz(7.6456, 6.3217, 28.0058)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4392 #926A1B
analogous
#1B7F92 #1B4392 #2F1B92
triadic
#1B4392 #921B43 #43921B
tetradic
#1B4392 #921B7F #926A1B #1B922F
square
#1B4392 #921B7F #926A1B #1B922F
split-complementary
#1B4392 #922F1B #7F921B
monochromatic
#08142B #112B5E #1B4392 #255BC6 #4A7CDE

Accessibility & contrast

On white

9.27
#1B4392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B4392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4392
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4392#FFFFFF#000000##FFFFFF
##1B43921.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064D95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4392;
/* rgb */ color: rgb(27, 67, 146);
/* oklch */ color: oklch(40.4% 0.138 262.0);
Tailwind
colors: {
  custom: {
    50: '#6c76b3',
    500: '#1b4392',
    950: '#000000',
  },
}
SCSS
$custom: #1b4392;
$custom-light: #6c76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4392",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 219.832,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.13831,
    "h": 262
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#1B4392
secondary
#BF9849
accent
#B13CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4392

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

Preview Lab → · Contrast checker → · Palette generator →

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