#1B4099#1B4099

#1B4099 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.152 H 263.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1B4099
RGBrgb(27, 64, 153)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 82%, 60%)
CMYKcmyk(82.4%, 58.2%, 0%, 40%)
CIE-LABlab(29.91, 21.54, -52.28)
CIE-LCHlch(29.91, 56.55, 292.39°)
OKLaboklab(40.35% -0.0164 -0.151)
OKLCHoklch(40.35% 0.152 263.8)
XYZxyz(8.0331, 6.1987, 30.9039)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4099 #99741B
analogous
#1B7F99 #1B4099 #351B99
triadic
#1B4099 #991B40 #40991B
tetradic
#1B4099 #991B7F #99741B #1B9935
square
#1B4099 #991B7F #99741B #1B9935
split-complementary
#1B4099 #99351B #7F991B
monochromatic
#091431 #122A65 #1B4099 #2456CD #4F79E0

Accessibility & contrast

On white

9.38
#1B4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4099
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4099#FFFFFF#000000##FFFFFF
##1B40991.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4099;
/* rgb */ color: rgb(27, 64, 153);
/* oklch */ color: oklch(40.4% 0.152 263.8);
Tailwind
colors: {
  custom: {
    50: '#6e74b8',
    500: '#1b4099',
    950: '#000000',
  },
}
SCSS
$custom: #1b4099;
$custom-light: #6e74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4099",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 222.381,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40354,
    "c": 0.15193,
    "h": 263.8
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#1B4099
secondary
#C2A04E
accent
#B93BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4099

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

Preview Lab → · Contrast checker → · Palette generator →

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