#1B48A7#1B48A7

#1B48A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.161 H 262.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1B48A7
RGBrgb(27, 72, 167)
HSLhsl(221, 72%, 38%)
HSVhsv(221, 84%, 65%)
CMYKcmyk(83.8%, 56.9%, 0%, 34.5%)
CIE-LABlab(33.26, 21.68, -55.28)
CIE-LCHlch(33.26, 59.38, 291.41°)
OKLaboklab(43.23% -0.0207 -0.1597)
OKLCHoklch(43.23% 0.161 262.6)
XYZxyz(9.7419, 7.6566, 37.5161)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B48A7 #A77A1B
analogous
#1B8EA7 #1B48A7 #341BA7
triadic
#1B48A7 #A71B48 #48A71B
tetradic
#1B48A7 #A71B8E #A77A1B #1BA734
square
#1B48A7 #A71B8E #A77A1B #1BA734
split-complementary
#1B48A7 #A7341B #8EA71B
monochromatic
#0A1B3E #123172 #1B48A7 #245FDC #5885E4

Accessibility & contrast

On white

8.30
#1B48A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1B48A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B48A7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B48A7#FFFFFF#000000##FFFFFF
##1B48A71.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b48a7;
/* rgb */ color: rgb(27, 72, 167);
/* oklch */ color: oklch(43.2% 0.161 262.6);
Tailwind
colors: {
  custom: {
    50: '#717ac2',
    500: '#1b48a7',
    950: '#000000',
  },
}
SCSS
$custom: #1b48a7;
$custom-light: #717ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b48a7",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 220.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4323,
    "c": 0.16104,
    "h": 262.6
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#1B48A7
secondary
#C8A356
accent
#B439EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1B48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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