#1B46A1#1B46A1

#1B46A1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.155 H 262.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1B46A1
RGBrgb(27, 70, 161)
HSLhsl(221, 71%, 37%)
HSVhsv(221, 83%, 63%)
CMYKcmyk(83.2%, 56.5%, 0%, 36.9%)
CIE-LABlab(32.23, 20.64, -53.36)
CIE-LCHlch(32.23, 57.21, 291.15°)
OKLaboklab(42.3% -0.0198 -0.1541)
OKLCHoklch(42.3% 0.155 262.7)
XYZxyz(9.0729, 7.1854, 34.6200)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B46A1 #A1761B
analogous
#1B89A1 #1B46A1 #331BA1
triadic
#1B46A1 #A11B46 #46A11B
tetradic
#1B46A1 #A11B89 #A1761B #1BA133
square
#1B46A1 #A11B89 #A1761B #1BA133
split-complementary
#1B46A1 #A1331B #89A11B
monochromatic
#091838 #122F6D #1B46A1 #245DD5 #5482E2

Accessibility & contrast

On white

8.62
#1B46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1B46A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B46A1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B46A1#FFFFFF#000000##FFFFFF
##1B46A11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b46a1;
/* rgb */ color: rgb(27, 70, 161);
/* oklch */ color: oklch(42.3% 0.155 262.7);
Tailwind
colors: {
  custom: {
    50: '#7078be',
    500: '#1b46a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b46a1;
$custom-light: #7078be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b46a1",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 161
  },
  "hsl": {
    "h": 220.746,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.15536,
    "h": 262.7
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#1B46A1
secondary
#C5A052
accent
#B43AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B46A1

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

Preview Lab → · Contrast checker → · Palette generator →

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