#1B4CA5#1B4CA5

#1B4CA5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.153 H 261.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#1B4CA5
RGBrgb(27, 76, 165)
HSLhsl(219, 72%, 38%)
HSVhsv(219, 84%, 65%)
CMYKcmyk(83.6%, 53.9%, 0%, 35.3%)
CIE-LABlab(34.23, 18.17, -52.51)
CIE-LCHlch(34.23, 55.57, 289.09°)
OKLaboklab(43.92% -0.0235 -0.1515)
OKLCHoklch(43.92% 0.153 261.2)
XYZxyz(9.8255, 8.1173, 36.6390)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4CA5 #A5741B
analogous
#1B91A5 #1B4CA5 #2F1BA5
triadic
#1B4CA5 #A51B4C #4CA51B
tetradic
#1B4CA5 #A51B91 #A5741B #1BA52F
square
#1B4CA5 #A51B91 #A5741B #1BA52F
split-complementary
#1B4CA5 #A52F1B #91A51B
monochromatic
#0A1C3C #123470 #1B4CA5 #2464DA #5789E3

Accessibility & contrast

On white

8.00
#1B4CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1B4CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4CA5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4CA5#FFFFFF#000000##FFFFFF
##1B4CA51.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b4ca5;
/* rgb */ color: rgb(27, 76, 165);
/* oklch */ color: oklch(43.9% 0.153 261.2);
Tailwind
colors: {
  custom: {
    50: '#707dc0',
    500: '#1b4ca5',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ca5;
$custom-light: #707dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ca5",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 218.696,
    "s": 71.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.15331,
    "h": 261.2
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#1B4CA5
secondary
#C79E55
accent
#AE39EF
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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