#1B4497#1B4497

#1B4497 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.144 H 262.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#1B4497
RGBrgb(27, 68, 151)
HSLhsl(220, 70%, 35%)
HSVhsv(220, 82%, 59%)
CMYKcmyk(82.1%, 55%, 0%, 40.8%)
CIE-LABlab(30.88, 17.99, -49.49)
CIE-LCHlch(30.88, 52.65, 289.98°)
OKLaboklab(41.04% -0.0193 -0.1427)
OKLCHoklch(41.04% 0.144 262.3)
XYZxyz(8.1030, 6.6007, 30.1191)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4497 #976E1B
analogous
#1B8297 #1B4497 #301B97
triadic
#1B4497 #971B44 #44971B
tetradic
#1B4497 #971B82 #976E1B #1B9730
square
#1B4497 #971B82 #976E1B #1B9730
split-complementary
#1B4497 #97301B #82971B
monochromatic
#08152F #122D63 #1B4497 #245BCB #4D7DDF

Accessibility & contrast

On white

9.05
#1B4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1B4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4497
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4497#FFFFFF#000000##FFFFFF
##1B44971.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4497;
/* rgb */ color: rgb(27, 68, 151);
/* oklch */ color: oklch(41.0% 0.144 262.3);
Tailwind
colors: {
  custom: {
    50: '#6d77b6',
    500: '#1b4497',
    950: '#000000',
  },
}
SCSS
$custom: #1b4497;
$custom-light: #6d77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4497",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 220.161,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41038,
    "c": 0.14406,
    "h": 262.3
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#1B4497
secondary
#C19B4C
accent
#B23BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4497

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

Preview Lab → · Contrast checker → · Palette generator →

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