#1B46A0#1B46A0

#1B46A0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.154 H 262.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1B46A0
RGBrgb(27, 70, 160)
HSLhsl(221, 71%, 37%)
HSVhsv(221, 83%, 63%)
CMYKcmyk(83.1%, 56.3%, 0%, 37.3%)
CIE-LABlab(32.15, 20.24, -52.88)
CIE-LCHlch(32.15, 56.63, 290.94°)
OKLaboklab(42.22% -0.0199 -0.1527)
OKLCHoklch(42.22% 0.154 262.6)
XYZxyz(8.9850, 7.1503, 34.1575)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B46A0 #A0751B
analogous
#1B89A0 #1B46A0 #331BA0
triadic
#1B46A0 #A01B46 #46A01B
tetradic
#1B46A0 #A01B89 #A0751B #1BA033
square
#1B46A0 #A01B89 #A0751B #1BA033
split-complementary
#1B46A0 #A0331B #89A01B
monochromatic
#091837 #122F6C #1B46A0 #245DD4 #5381E2

Accessibility & contrast

On white

8.64
#1B46A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B46A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B46A0
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B46A0#FFFFFF#000000##FFFFFF
##1B46A01.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b46a0;
/* rgb */ color: rgb(27, 70, 160);
/* oklch */ color: oklch(42.2% 0.154 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f78bd',
    500: '#1b46a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b46a0;
$custom-light: #6f78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b46a0",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 160
  },
  "hsl": {
    "h": 220.602,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.15399,
    "h": 262.6
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B46A0

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

Preview Lab → · Contrast checker → · Palette generator →

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