#1B4CA8#1B4CA8

#1B4CA8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.157 H 261.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#1B4CA8
RGBrgb(27, 76, 168)
HSLhsl(219, 72%, 38%)
HSVhsv(219, 84%, 66%)
CMYKcmyk(83.9%, 54.8%, 0%, 34.1%)
CIE-LABlab(34.45, 19.37, -53.94)
CIE-LCHlch(34.45, 57.31, 289.76°)
OKLaboklab(44.16% -0.0232 -0.1557)
OKLCHoklch(44.16% 0.157 261.5)
XYZxyz(10.1018, 8.2278, 38.0939)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4CA8 #A8771B
analogous
#1B92A8 #1B4CA8 #301BA8
triadic
#1B4CA8 #A81B4C #4CA81B
tetradic
#1B4CA8 #A81B92 #A8771B #1BA830
square
#1B4CA8 #A81B92 #A8771B #1BA830
split-complementary
#1B4CA8 #A8301B #92A81B
monochromatic
#0A1C3F #133473 #1B4CA8 #2464DC #5989E4

Accessibility & contrast

On white

7.94
#1B4CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1B4CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4CA8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4CA8#FFFFFF#000000##FFFFFF
##1B4CA81.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4ca8;
/* rgb */ color: rgb(27, 76, 168);
/* oklch */ color: oklch(44.2% 0.157 261.5);
Tailwind
colors: {
  custom: {
    50: '#717dc3',
    500: '#1b4ca8',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ca8;
$custom-light: #717dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ca8",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 219.149,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.1574,
    "h": 261.5
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#1B4CA8
secondary
#C8A157
accent
#B039EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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