#1B46A7#1B46A7

#1B46A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.164 H 263.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1B46A7
RGBrgb(27, 70, 167)
HSLhsl(222, 72%, 38%)
HSVhsv(222, 84%, 65%)
CMYKcmyk(83.8%, 58.1%, 0%, 34.5%)
CIE-LABlab(32.71, 23.03, -56.18)
CIE-LCHlch(32.71, 60.72, 292.29°)
OKLaboklab(42.82% -0.0194 -0.1624)
OKLCHoklch(42.82% 0.164 263.2)
XYZxyz(9.6147, 7.4022, 37.4737)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B46A7 #A77C1B
analogous
#1B8CA7 #1B46A7 #361BA7
triadic
#1B46A7 #A71B46 #46A71B
tetradic
#1B46A7 #A71B8C #A77C1B #1BA736
square
#1B46A7 #A71B8C #A77C1B #1BA736
split-complementary
#1B46A7 #A7361B #8CA71B
monochromatic
#0A1A3E #123072 #1B46A7 #245CDC #5883E4

Accessibility & contrast

On white

8.47
#1B46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1B46A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B46A7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B46A7#FFFFFF#000000##FFFFFF
##1B46A71.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b46a7;
/* rgb */ color: rgb(27, 70, 167);
/* oklch */ color: oklch(42.8% 0.164 263.2);
Tailwind
colors: {
  custom: {
    50: '#7178c2',
    500: '#1b46a7',
    950: '#000000',
  },
}
SCSS
$custom: #1b46a7;
$custom-light: #7178c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b46a7",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 221.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42815,
    "c": 0.16355,
    "h": 263.2
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#1B46A7
secondary
#C8A556
accent
#B739EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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