#1B4394#1B4394

#1B4394 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.141 H 262.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#1B4394
RGBrgb(27, 67, 148)
HSLhsl(220, 69%, 34%)
HSVhsv(220, 82%, 58%)
CMYKcmyk(81.8%, 54.7%, 0%, 42%)
CIE-LABlab(30.36, 17.47, -48.50)
CIE-LCHlch(30.36, 51.55, 289.81°)
OKLaboklab(40.57% -0.0189 -0.1398)
OKLCHoklch(40.57% 0.141 262.3)
XYZxyz(7.8025, 6.3845, 28.8323)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4394 #946C1B
analogous
#1B8094 #1B4394 #2F1B94
triadic
#1B4394 #941B43 #43941B
tetradic
#1B4394 #941B80 #946C1B #1B942F
square
#1B4394 #941B80 #946C1B #1B942F
split-complementary
#1B4394 #942F1B #80941B
monochromatic
#08142C #122C60 #1B4394 #245AC8 #4B7CDE

Accessibility & contrast

On white

9.22
#1B4394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B4394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4394
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4394#FFFFFF#000000##FFFFFF
##1B43941.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4394;
/* rgb */ color: rgb(27, 67, 148);
/* oklch */ color: oklch(40.6% 0.141 262.3);
Tailwind
colors: {
  custom: {
    50: '#6c76b4',
    500: '#1b4394',
    950: '#000000',
  },
}
SCSS
$custom: #1b4394;
$custom-light: #6c76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4394",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 220.165,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.14112,
    "h": 262.3
  },
  "luminance": 0.06385
}

Semantic roles & 50–950 ramp

primary
#1B4394
secondary
#C0994B
accent
#B23CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4394

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

Preview Lab → · Contrast checker → · Palette generator →

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