#1B4A9B#1B4A9B

#1B4A9B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.142 H 260.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1B4A9B
RGBrgb(27, 74, 155)
HSLhsl(218, 70%, 36%)
HSVhsv(218, 83%, 61%)
CMYKcmyk(82.6%, 52.3%, 0%, 39.2%)
CIE-LABlab(32.91, 15.50, -48.62)
CIE-LCHlch(32.91, 51.04, 287.68°)
OKLaboklab(42.68% -0.0233 -0.1401)
OKLCHoklch(42.68% 0.142 260.6)
XYZxyz(8.8150, 7.4961, 31.9863)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A9B #9B6C1B
analogous
#1B8A9B #1B4A9B #2C1B9B
triadic
#1B4A9B #9B1B4A #4A9B1B
tetradic
#1B4A9B #9B1B8A #9B6C1B #1B9B2C
square
#1B4A9B #9B1B8A #9B6C1B #1B9B2C
split-complementary
#1B4A9B #9B2C1B #8A9B1B
monochromatic
#091833 #123167 #1B4A9B #2463CF #5085E0

Accessibility & contrast

On white

8.40
#1B4A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1B4A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A9B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A9B#FFFFFF#000000##FFFFFF
##1B4A9B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4a9b;
/* rgb */ color: rgb(27, 74, 155);
/* oklch */ color: oklch(42.7% 0.142 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7bb9',
    500: '#1b4a9b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a9b;
$custom-light: #6e7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a9b",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 217.969,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42679,
    "c": 0.14201,
    "h": 260.6
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#1B4A9B
secondary
#C3984F
accent
#AC3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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