#1B4CA7#1B4CA7

#1B4CA7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.156 H 261.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1B4CA7
RGBrgb(27, 76, 167)
HSLhsl(219, 72%, 38%)
HSVhsv(219, 84%, 65%)
CMYKcmyk(83.8%, 54.5%, 0%, 34.5%)
CIE-LABlab(34.38, 18.97, -53.47)
CIE-LCHlch(34.38, 56.73, 289.54°)
OKLaboklab(44.08% -0.0233 -0.1543)
OKLCHoklch(44.08% 0.156 261.4)
XYZxyz(10.0090, 8.1907, 37.6052)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4CA7 #A7761B
analogous
#1B92A7 #1B4CA7 #301BA7
triadic
#1B4CA7 #A71B4C #4CA71B
tetradic
#1B4CA7 #A71B92 #A7761B #1BA730
square
#1B4CA7 #A71B92 #A7761B #1BA730
split-complementary
#1B4CA7 #A7301B #92A71B
monochromatic
#0A1C3E #123472 #1B4CA7 #2464DC #5889E4

Accessibility & contrast

On white

7.96
#1B4CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1B4CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4CA7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4CA7#FFFFFF#000000##FFFFFF
##1B4CA71.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b4ca7;
/* rgb */ color: rgb(27, 76, 167);
/* oklch */ color: oklch(44.1% 0.156 261.4);
Tailwind
colors: {
  custom: {
    50: '#717dc2',
    500: '#1b4ca7',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ca7;
$custom-light: #717dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ca7",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 219,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44078,
    "c": 0.15604,
    "h": 261.4
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#1B4CA7
secondary
#C8A056
accent
#AF39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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