#1B46A8#1B46A8

#1B46A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.165 H 263.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1B46A8
RGBrgb(27, 70, 168)
HSLhsl(222, 72%, 38%)
HSVhsv(222, 84%, 66%)
CMYKcmyk(83.9%, 58.3%, 0%, 34.1%)
CIE-LABlab(32.79, 23.43, -56.65)
CIE-LCHlch(32.79, 61.30, 292.47°)
OKLaboklab(42.9% -0.0194 -0.1638)
OKLCHoklch(42.9% 0.165 263.3)
XYZxyz(9.7075, 7.4393, 37.9625)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B46A8 #A87D1B
analogous
#1B8CA8 #1B46A8 #361BA8
triadic
#1B46A8 #A81B46 #46A81B
tetradic
#1B46A8 #A81B8C #A87D1B #1BA836
square
#1B46A8 #A81B8C #A87D1B #1BA836
split-complementary
#1B46A8 #A8361B #8CA81B
monochromatic
#0A1A3F #133073 #1B46A8 #245CDC #5984E4

Accessibility & contrast

On white

8.44
#1B46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B46A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B46A8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B46A8#FFFFFF#000000##FFFFFF
##1B46A81.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b46a8;
/* rgb */ color: rgb(27, 70, 168);
/* oklch */ color: oklch(42.9% 0.165 263.3);
Tailwind
colors: {
  custom: {
    50: '#7278c3',
    500: '#1b46a8',
    950: '#000000',
  },
}
SCSS
$custom: #1b46a8;
$custom-light: #7278c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b46a8",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 221.702,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.1649,
    "h": 263.3
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#1B46A8
secondary
#C8A557
accent
#B739EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1B46A8

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

Preview Lab → · Contrast checker → · Palette generator →

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