#1B49A1#1B49A1

#1B49A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.152 H 261.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1B49A1
RGBrgb(27, 73, 161)
HSLhsl(219, 71%, 37%)
HSVhsv(219, 83%, 63%)
CMYKcmyk(83.2%, 54.7%, 0%, 36.9%)
CIE-LABlab(33.07, 18.60, -51.98)
CIE-LCHlch(33.07, 55.21, 289.69°)
OKLaboklab(42.94% -0.0219 -0.15)
OKLCHoklch(42.94% 0.152 261.7)
XYZxyz(9.2652, 7.5702, 34.6842)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B49A1 #A1731B
analogous
#1B8CA1 #1B49A1 #301BA1
triadic
#1B49A1 #A11B49 #49A11B
tetradic
#1B49A1 #A11B8C #A1731B #1BA130
square
#1B49A1 #A11B8C #A1731B #1BA130
split-complementary
#1B49A1 #A1301B #8CA11B
monochromatic
#091938 #12316D #1B49A1 #2461D5 #5485E2

Accessibility & contrast

On white

8.35
#1B49A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B49A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B49A1
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B49A1#FFFFFF#000000##FFFFFF
##1B49A11.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b49a1;
/* rgb */ color: rgb(27, 73, 161);
/* oklch */ color: oklch(42.9% 0.152 261.7);
Tailwind
colors: {
  custom: {
    50: '#6f7bbd',
    500: '#1b49a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b49a1;
$custom-light: #6f7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b49a1",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 161
  },
  "hsl": {
    "h": 219.403,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.15159,
    "h": 261.7
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#1B49A1
secondary
#C59E52
accent
#B03AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B49A1

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

Preview Lab → · Contrast checker → · Palette generator →

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