#1B4AA7#1B4AA7

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

Color values

HEX#1B4AA7
RGBrgb(27, 74, 167)
HSLhsl(220, 72%, 38%)
HSVhsv(220, 84%, 65%)
CMYKcmyk(83.8%, 55.7%, 0%, 34.5%)
CIE-LABlab(33.81, 20.32, -54.38)
CIE-LCHlch(33.81, 58.05, 290.49°)
OKLaboklab(43.65% -0.022 -0.157)
OKLCHoklch(43.65% 0.159 262)
XYZxyz(9.8733, 7.9194, 37.5599)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4AA7 #A7781B
analogous
#1B90A7 #1B4AA7 #321BA7
triadic
#1B4AA7 #A71B4A #4AA71B
tetradic
#1B4AA7 #A71B90 #A7781B #1BA732
square
#1B4AA7 #A71B90 #A7781B #1BA732
split-complementary
#1B4AA7 #A7321B #90A71B
monochromatic
#0A1B3E #123372 #1B4AA7 #2461DC #5887E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B4AA7#FFFFFF#000000##FFFFFF
##1B4AA71.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)
#0056AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4aa7;
/* rgb */ color: rgb(27, 74, 167);
/* oklch */ color: oklch(43.7% 0.159 262.0);
Tailwind
colors: {
  custom: {
    50: '#717bc2',
    500: '#1b4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #1b4aa7;
$custom-light: #717bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4aa7",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 219.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43652,
    "c": 0.15854,
    "h": 262
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#1B4AA7
secondary
#C8A256
accent
#B239EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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