#1B4B9E#1B4B9E

#1B4B9E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.145 H 260.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1B4B9E
RGBrgb(27, 75, 158)
HSLhsl(218, 71%, 36%)
HSVhsv(218, 83%, 62%)
CMYKcmyk(82.9%, 52.5%, 0%, 38%)
CIE-LABlab(33.42, 16.03, -49.61)
CIE-LCHlch(33.42, 52.14, 287.91°)
OKLaboklab(43.14% -0.0236 -0.143)
OKLCHoklch(43.14% 0.145 260.6)
XYZxyz(9.1374, 7.7327, 33.3521)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B9E #9E6E1B
analogous
#1B8D9E #1B4B9E #2C1B9E
triadic
#1B4B9E #9E1B4B #4B9E1B
tetradic
#1B4B9E #9E1B8D #9E6E1B #1B9E2C
square
#1B4B9E #9E1B8D #9E6E1B #1B9E2C
split-complementary
#1B4B9E #9E2C1B #8D9E1B
monochromatic
#091935 #12326A #1B4B9E #2464D2 #5287E1

Accessibility & contrast

On white

8.25
#1B4B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1B4B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B9E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B9E#FFFFFF#000000##FFFFFF
##1B4B9E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b4b9e;
/* rgb */ color: rgb(27, 75, 158);
/* oklch */ color: oklch(43.1% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#6f7cbb',
    500: '#1b4b9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b9e;
$custom-light: #6f7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b9e",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 218.015,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.14492,
    "h": 260.6
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#1B4B9E
secondary
#C49A51
accent
#AC3AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B4B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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