#1B4FA1#1B4FA1

#1B4FA1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.144 H 259.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#1B4FA1
RGBrgb(27, 79, 161)
HSLhsl(217, 71%, 37%)
HSVhsv(217, 83%, 63%)
CMYKcmyk(83.2%, 50.9%, 0%, 36.9%)
CIE-LABlab(34.80, 14.54, -49.19)
CIE-LCHlch(34.80, 51.29, 286.46°)
OKLaboklab(44.26% -0.0262 -0.1416)
OKLCHoklch(44.26% 0.144 259.5)
XYZxyz(9.6786, 8.3970, 34.8220)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4FA1 #A16D1B
analogous
#1B92A1 #1B4FA1 #2A1BA1
triadic
#1B4FA1 #A11B4F #4FA11B
tetradic
#1B4FA1 #A11B92 #A16D1B #1BA12A
square
#1B4FA1 #A11B92 #A16D1B #1BA12A
split-complementary
#1B4FA1 #A12A1B #92A11B
monochromatic
#091C38 #12356D #1B4FA1 #2469D5 #548BE2

Accessibility & contrast

On white

7.84
#1B4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1B4FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4FA1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4FA1#FFFFFF#000000##FFFFFF
##1B4FA11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b4fa1;
/* rgb */ color: rgb(27, 79, 161);
/* oklch */ color: oklch(44.3% 0.144 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f7fbd',
    500: '#1b4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1b4fa1;
$custom-light: #6f7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4fa1",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 216.716,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44258,
    "c": 0.14405,
    "h": 259.5
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#1B4FA1
secondary
#C59952
accent
#A83AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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