#1B48A1#1B48A1

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

Color values

HEX#1B48A1
RGBrgb(27, 72, 161)
HSLhsl(220, 71%, 37%)
HSVhsv(220, 83%, 63%)
CMYKcmyk(83.2%, 55.3%, 0%, 36.9%)
CIE-LABlab(32.79, 19.28, -52.44)
CIE-LCHlch(32.79, 55.88, 290.19°)
OKLaboklab(42.73% -0.0212 -0.1514)
OKLCHoklch(42.73% 0.153 262)
XYZxyz(9.2001, 7.4398, 34.6624)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B48A1 #A1741B
analogous
#1B8BA1 #1B48A1 #311BA1
triadic
#1B48A1 #A11B48 #48A11B
tetradic
#1B48A1 #A11B8B #A1741B #1BA131
square
#1B48A1 #A11B8B #A1741B #1BA131
split-complementary
#1B48A1 #A1311B #8BA11B
monochromatic
#091938 #12316D #1B48A1 #245FD5 #5484E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B48A1#FFFFFF#000000##FFFFFF
##1B48A11.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)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b48a1;
/* rgb */ color: rgb(27, 72, 161);
/* oklch */ color: oklch(42.7% 0.153 262.0);
Tailwind
colors: {
  custom: {
    50: '#707abd',
    500: '#1b48a1',
    950: '#000000',
  },
}
SCSS
$custom: #1b48a1;
$custom-light: #707abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b48a1",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 219.851,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.15285,
    "h": 262
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#1B48A1
secondary
#C59F52
accent
#B13AEE
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B48A1

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

Preview Lab → · Contrast checker → · Palette generator →

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