#1B4AA6#1B4AA6

#1B4AA6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.157 H 261.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1B4AA6
RGBrgb(27, 74, 166)
HSLhsl(220, 72%, 38%)
HSVhsv(220, 84%, 65%)
CMYKcmyk(83.7%, 55.4%, 0%, 34.9%)
CIE-LABlab(33.74, 19.92, -53.91)
CIE-LCHlch(33.74, 57.47, 290.29°)
OKLaboklab(43.57% -0.0221 -0.1556)
OKLCHoklch(43.57% 0.157 261.9)
XYZxyz(9.7812, 7.8825, 37.0750)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4AA6 #A6771B
analogous
#1B90A6 #1B4AA6 #311BA6
triadic
#1B4AA6 #A61B4A #4AA61B
tetradic
#1B4AA6 #A61B90 #A6771B #1BA631
square
#1B4AA6 #A61B90 #A6771B #1BA631
split-complementary
#1B4AA6 #A6311B #90A61B
monochromatic
#0A1B3D #123371 #1B4AA6 #2461DB #5887E4

Accessibility & contrast

On white

8.15
#1B4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4AA6
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4AA6#FFFFFF#000000##FFFFFF
##1B4AA61.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4aa6;
/* rgb */ color: rgb(27, 74, 166);
/* oklch */ color: oklch(43.6% 0.157 261.9);
Tailwind
colors: {
  custom: {
    50: '#717bc1',
    500: '#1b4aa6',
    950: '#000000',
  },
}
SCSS
$custom: #1b4aa6;
$custom-light: #717bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4aa6",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 219.712,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.15718,
    "h": 261.9
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#1B4AA6
secondary
#C7A156
accent
#B139EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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