#1B49A8#1B49A8

#1B49A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.161 H 262.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1B49A8
RGBrgb(27, 73, 168)
HSLhsl(220, 72%, 38%)
HSVhsv(220, 84%, 66%)
CMYKcmyk(83.9%, 56.5%, 0%, 34.1%)
CIE-LABlab(33.61, 21.40, -55.30)
CIE-LCHlch(33.61, 59.30, 291.15°)
OKLaboklab(43.53% -0.0213 -0.1597)
OKLCHoklch(43.53% 0.161 262.4)
XYZxyz(9.8999, 7.8240, 38.0266)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B49A8 #A87A1B
analogous
#1B8FA8 #1B49A8 #341BA8
triadic
#1B49A8 #A81B49 #49A81B
tetradic
#1B49A8 #A81B8F #A87A1B #1BA834
square
#1B49A8 #A81B8F #A87A1B #1BA834
split-complementary
#1B49A8 #A8341B #8FA81B
monochromatic
#0A1B3F #133273 #1B49A8 #2460DC #5986E4

Accessibility & contrast

On white

8.19
#1B49A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B49A8
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B49A8#FFFFFF#000000##FFFFFF
##1B49A81.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b49a8;
/* rgb */ color: rgb(27, 73, 168);
/* oklch */ color: oklch(43.5% 0.161 262.4);
Tailwind
colors: {
  custom: {
    50: '#717bc3',
    500: '#1b49a8',
    950: '#000000',
  },
}
SCSS
$custom: #1b49a8;
$custom-light: #717bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b49a8",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 168
  },
  "hsl": {
    "h": 220.426,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.16116,
    "h": 262.4
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#1B49A8
secondary
#C8A357
accent
#B439EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B49A8

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

Preview Lab → · Contrast checker → · Palette generator →

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