#1B48BC#1B48BC

#1B48BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.189 H 264.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#1B48BC
RGBrgb(27, 72, 188)
HSLhsl(223, 75%, 42%)
HSVhsv(223, 86%, 74%)
CMYKcmyk(85.6%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.00, 29.92, -64.90)
CIE-LCHlch(35.00, 71.47, 294.75°)
OKLaboklab(45.08% -0.0198 -0.1879)
OKLCHoklch(45.08% 0.189 264)
XYZxyz(11.8432, 8.4971, 48.5831)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B48BC #BC8F1B
analogous
#1B99BC #1B48BC #3F1BBC
triadic
#1B48BC #BC1B48 #48BC1B
tetradic
#1B48BC #BC1B99 #BC8F1B #1BBC3F
square
#1B48BC #BC1B99 #BC8F1B #1BBC3F
split-complementary
#1B48BC #BC3F1B #99BC1B
monochromatic
#0C1F51 #133486 #1B48BC #3363E2 #688CE9

Accessibility & contrast

On white

7.78
#1B48BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1B48BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B48BC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B48BC#FFFFFF#000000##FFFFFF
##1B48BC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b48bc;
/* rgb */ color: rgb(27, 72, 188);
/* oklch */ color: oklch(45.1% 0.189 264.0);
Tailwind
colors: {
  custom: {
    50: '#777ad1',
    500: '#1b48bc',
    950: '#000000',
  },
}
SCSS
$custom: #1b48bc;
$custom-light: #777ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b48bc",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 223.23,
    "s": 74.884,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.18896,
    "h": 264
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#1B48BC
secondary
#CFB164
accent
#BD36F2
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0A0914
muted
#7C7B83

Preview Lab

Preview with #1B48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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