#1B4BA6#1B4BA6

#1B4BA6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.156 H 261.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1B4BA6
RGBrgb(27, 75, 166)
HSLhsl(219, 72%, 38%)
HSVhsv(219, 84%, 65%)
CMYKcmyk(83.7%, 54.8%, 0%, 34.9%)
CIE-LABlab(34.02, 19.25, -53.45)
CIE-LCHlch(34.02, 56.81, 289.80°)
OKLaboklab(43.78% -0.0227 -0.1543)
OKLCHoklch(43.78% 0.156 261.6)
XYZxyz(9.8485, 8.0171, 37.0974)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4BA6 #A6761B
analogous
#1B90A6 #1B4BA6 #311BA6
triadic
#1B4BA6 #A61B4B #4BA61B
tetradic
#1B4BA6 #A61B90 #A6761B #1BA631
square
#1B4BA6 #A61B90 #A6761B #1BA631
split-complementary
#1B4BA6 #A6311B #90A61B
monochromatic
#0A1B3D #123371 #1B4BA6 #2463DB #5888E4

Accessibility & contrast

On white

8.07
#1B4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1B4BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4BA6
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4BA6#FFFFFF#000000##FFFFFF
##1B4BA61.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4ba6;
/* rgb */ color: rgb(27, 75, 166);
/* oklch */ color: oklch(43.8% 0.156 261.6);
Tailwind
colors: {
  custom: {
    50: '#717cc1',
    500: '#1b4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ba6;
$custom-light: #717cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ba6",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 219.281,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43782,
    "c": 0.15593,
    "h": 261.6
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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