#1B48A6#1B48A6

#1B48A6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.160 H 262.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1B48A6
RGBrgb(27, 72, 166)
HSLhsl(221, 72%, 38%)
HSVhsv(221, 84%, 65%)
CMYKcmyk(83.7%, 56.6%, 0%, 34.9%)
CIE-LABlab(33.18, 21.28, -54.81)
CIE-LCHlch(33.18, 58.80, 291.22°)
OKLaboklab(43.15% -0.0208 -0.1583)
OKLCHoklch(43.15% 0.16 262.5)
XYZxyz(9.6498, 7.6197, 37.0312)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B48A6 #A6791B
analogous
#1B8DA6 #1B48A6 #341BA6
triadic
#1B48A6 #A61B48 #48A61B
tetradic
#1B48A6 #A61B8D #A6791B #1BA634
square
#1B48A6 #A61B8D #A6791B #1BA634
split-complementary
#1B48A6 #A6341B #8DA61B
monochromatic
#0A1A3D #123171 #1B48A6 #245FDB #5885E4

Accessibility & contrast

On white

8.32
#1B48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1B48A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B48A6
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B48A6#FFFFFF#000000##FFFFFF
##1B48A61.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b48a6;
/* rgb */ color: rgb(27, 72, 166);
/* oklch */ color: oklch(43.1% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#717ac1',
    500: '#1b48a6',
    950: '#000000',
  },
}
SCSS
$custom: #1b48a6;
$custom-light: #717ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b48a6",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 220.576,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.15969,
    "h": 262.5
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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