#1B49A6#1B49A6

#1B49A6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.158 H 262.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#1B49A6
RGBrgb(27, 73, 166)
HSLhsl(220, 72%, 38%)
HSVhsv(220, 84%, 65%)
CMYKcmyk(83.7%, 56%, 0%, 34.9%)
CIE-LABlab(33.46, 20.60, -54.36)
CIE-LCHlch(33.46, 58.13, 290.76°)
OKLaboklab(43.36% -0.0214 -0.157)
OKLCHoklch(43.36% 0.158 262.2)
XYZxyz(9.7150, 7.7501, 37.0529)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B49A6 #A6781B
analogous
#1B8EA6 #1B49A6 #321BA6
triadic
#1B49A6 #A61B49 #49A61B
tetradic
#1B49A6 #A61B8E #A6781B #1BA632
square
#1B49A6 #A61B8E #A6781B #1BA632
split-complementary
#1B49A6 #A6321B #8EA61B
monochromatic
#0A1B3D #123271 #1B49A6 #2460DB #5886E4

Accessibility & contrast

On white

8.23
#1B49A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B49A6
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B49A6#FFFFFF#000000##FFFFFF
##1B49A61.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b49a6;
/* rgb */ color: rgb(27, 73, 166);
/* oklch */ color: oklch(43.4% 0.158 262.2);
Tailwind
colors: {
  custom: {
    50: '#717bc1',
    500: '#1b49a6',
    950: '#000000',
  },
}
SCSS
$custom: #1b49a6;
$custom-light: #717bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b49a6",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 166
  },
  "hsl": {
    "h": 220.144,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.15843,
    "h": 262.2
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#1B49A6
secondary
#C7A256
accent
#B339EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B49A6

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

Preview Lab → · Contrast checker → · Palette generator →

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