#1B48BB#1B48BB

#1B48BB is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.188 H 264.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1B48BB
RGBrgb(27, 72, 187)
HSLhsl(223, 75%, 42%)
HSVhsv(223, 86%, 73%)
CMYKcmyk(85.6%, 61.5%, 0%, 26.7%)
CIE-LABlab(34.91, 29.53, -64.46)
CIE-LCHlch(34.91, 70.90, 294.62°)
OKLaboklab(44.99% -0.0198 -0.1866)
OKLCHoklch(44.99% 0.188 264)
XYZxyz(11.7358, 8.4541, 48.0173)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B48BB #BB8E1B
analogous
#1B98BB #1B48BB #3E1BBB
triadic
#1B48BB #BB1B48 #48BB1B
tetradic
#1B48BB #BB1B98 #BB8E1B #1BBB3E
square
#1B48BB #BB1B98 #BB8E1B #1BBB3E
split-complementary
#1B48BB #BB3E1B #98BB1B
monochromatic
#0C1F50 #133386 #1B48BB #3263E1 #678CE9

Accessibility & contrast

On white

7.80
#1B48BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1B48BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B48BB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B48BB#FFFFFF#000000##FFFFFF
##1B48BB1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b48bb;
/* rgb */ color: rgb(27, 72, 187);
/* oklch */ color: oklch(45.0% 0.188 264.0);
Tailwind
colors: {
  custom: {
    50: '#767ad0',
    500: '#1b48bb',
    950: '#000000',
  },
}
SCSS
$custom: #1b48bb;
$custom-light: #767ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b48bb",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 223.125,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44985,
    "c": 0.18766,
    "h": 264
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#1B48BB
secondary
#CEB063
accent
#BD36F1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #1B48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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