#1B4398#1B4398

#1B4398 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.147 H 262.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1B4398
RGBrgb(27, 67, 152)
HSLhsl(221, 70%, 35%)
HSVhsv(221, 82%, 60%)
CMYKcmyk(82.2%, 55.9%, 0%, 40.4%)
CIE-LABlab(30.67, 19.08, -50.43)
CIE-LCHlch(30.67, 53.92, 290.72°)
OKLaboklab(40.91% -0.0185 -0.1456)
OKLCHoklch(40.91% 0.147 262.7)
XYZxyz(8.1246, 6.5133, 30.5287)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4398 #98701B
analogous
#1B8198 #1B4398 #321B98
triadic
#1B4398 #981B43 #43981B
tetradic
#1B4398 #981B81 #98701B #1B9832
square
#1B4398 #981B81 #98701B #1B9832
split-complementary
#1B4398 #98321B #81981B
monochromatic
#091530 #122C64 #1B4398 #245ACC #4E7CE0

Accessibility & contrast

On white

9.12
#1B4398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B4398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4398
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4398#FFFFFF#000000##FFFFFF
##1B43981.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4398;
/* rgb */ color: rgb(27, 67, 152);
/* oklch */ color: oklch(40.9% 0.147 262.7);
Tailwind
colors: {
  custom: {
    50: '#6e76b7',
    500: '#1b4398',
    950: '#000000',
  },
}
SCSS
$custom: #1b4398;
$custom-light: #6e76b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4398",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 220.8,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.14673,
    "h": 262.7
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#1B4398
secondary
#C29C4D
accent
#B43BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4398

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

Preview Lab → · Contrast checker → · Palette generator →

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