#1B4397#1B4397

#1B4397 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.145 H 262.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#1B4397
RGBrgb(27, 67, 151)
HSLhsl(221, 70%, 35%)
HSVhsv(221, 82%, 59%)
CMYKcmyk(82.1%, 55.6%, 0%, 40.8%)
CIE-LABlab(30.59, 18.68, -49.95)
CIE-LCHlch(30.59, 53.33, 290.50°)
OKLaboklab(40.82% -0.0186 -0.1441)
OKLCHoklch(40.82% 0.145 262.6)
XYZxyz(8.0431, 6.4807, 30.0992)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4397 #976F1B
analogous
#1B8197 #1B4397 #311B97
triadic
#1B4397 #971B43 #43971B
tetradic
#1B4397 #971B81 #976F1B #1B9731
square
#1B4397 #971B81 #976F1B #1B9731
split-complementary
#1B4397 #97311B #81971B
monochromatic
#08152F #122C63 #1B4397 #245ACB #4D7CDF

Accessibility & contrast

On white

9.14
#1B4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4397
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4397#FFFFFF#000000##FFFFFF
##1B43971.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b4397;
/* rgb */ color: rgb(27, 67, 151);
/* oklch */ color: oklch(40.8% 0.145 262.6);
Tailwind
colors: {
  custom: {
    50: '#6d76b6',
    500: '#1b4397',
    950: '#000000',
  },
}
SCSS
$custom: #1b4397;
$custom-light: #6d76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4397",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 220.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.14533,
    "h": 262.6
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#1B4397
secondary
#C19C4C
accent
#B33BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4397

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

Preview Lab → · Contrast checker → · Palette generator →

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