#1B4BA1#1B4BA1

#1B4BA1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.149 H 261.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1B4BA1
RGBrgb(27, 75, 161)
HSLhsl(219, 71%, 37%)
HSVhsv(219, 83%, 63%)
CMYKcmyk(83.2%, 53.4%, 0%, 36.9%)
CIE-LABlab(33.64, 17.24, -51.06)
CIE-LCHlch(33.64, 53.89, 288.66°)
OKLaboklab(43.38% -0.0233 -0.1472)
OKLCHoklch(43.38% 0.149 261)
XYZxyz(9.3988, 7.8372, 34.7287)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4BA1 #A1711B
analogous
#1B8EA1 #1B4BA1 #2E1BA1
triadic
#1B4BA1 #A11B4B #4BA11B
tetradic
#1B4BA1 #A11B8E #A1711B #1BA12E
square
#1B4BA1 #A11B8E #A1711B #1BA12E
split-complementary
#1B4BA1 #A12E1B #8EA11B
monochromatic
#091A38 #12336D #1B4BA1 #2463D5 #5487E2

Accessibility & contrast

On white

8.18
#1B4BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1B4BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4BA1
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4BA1#FFFFFF#000000##FFFFFF
##1B4BA11.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0955A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4ba1;
/* rgb */ color: rgb(27, 75, 161);
/* oklch */ color: oklch(43.4% 0.149 261.0);
Tailwind
colors: {
  custom: {
    50: '#6f7cbd',
    500: '#1b4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ba1;
$custom-light: #6f7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ba1",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 218.507,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.14906,
    "h": 261
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#1B4BA1
secondary
#C59C52
accent
#AD3AEE
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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