#1B4E97#1B4E97

#1B4E97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.131 H 258.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1B4E97
RGBrgb(27, 78, 151)
HSLhsl(215, 70%, 35%)
HSVhsv(215, 82%, 59%)
CMYKcmyk(82.1%, 48.3%, 0%, 40.8%)
CIE-LABlab(33.81, 11.18, -44.76)
CIE-LCHlch(33.81, 46.13, 284.02°)
OKLaboklab(43.28% -0.027 -0.1286)
OKLCHoklch(43.28% 0.131 258.1)
XYZxyz(8.7602, 7.9151, 30.3382)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E97 #97641B
analogous
#1B8C97 #1B4E97 #261B97
triadic
#1B4E97 #971B4E #4E971B
tetradic
#1B4E97 #971B8C #97641B #1B9726
square
#1B4E97 #971B8C #97641B #1B9726
split-complementary
#1B4E97 #97261B #8C971B
monochromatic
#08182F #123363 #1B4E97 #2469CB #4D89DF

Accessibility & contrast

On white

8.13
#1B4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E97
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E97#FFFFFF#000000##FFFFFF
##1B4E971.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4e97;
/* rgb */ color: rgb(27, 78, 151);
/* oklch */ color: oklch(43.3% 0.131 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fb6',
    500: '#1b4e97',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e97;
$custom-light: #6d7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e97",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 215.323,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43275,
    "c": 0.13143,
    "h": 258.1
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#1B4E97
secondary
#C1914C
accent
#A43BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1B4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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