#1B488D#1B488D

#1B488D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.1% C 0.125 H 259.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1B488D
RGBrgb(27, 72, 141)
HSLhsl(216, 68%, 33%)
HSVhsv(216, 81%, 55%)
CMYKcmyk(80.9%, 48.9%, 0%, 44.7%)
CIE-LABlab(31.32, 11.19, -42.65)
CIE-LCHlch(31.32, 44.10, 284.70°)
OKLaboklab(41.15% -0.0238 -0.1226)
OKLCHoklch(41.15% 0.125 259)
XYZxyz(7.5753, 6.7899, 26.1055)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B488D #8D601B
analogous
#1B818D #1B488D #271B8D
triadic
#1B488D #8D1B48 #488D1B
tetradic
#1B488D #8D1B81 #8D601B #1B8D27
square
#1B488D #8D1B81 #8D601B #1B8D27
split-complementary
#1B488D #8D271B #818D1B
monochromatic
#071426 #112E5A #1B488D #2562C0 #4782DC

Accessibility & contrast

On white

8.91
#1B488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1B488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B488D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B488D#FFFFFF#000000##FFFFFF
##1B488D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b488d;
/* rgb */ color: rgb(27, 72, 141);
/* oklch */ color: oklch(41.1% 0.125 259.0);
Tailwind
colors: {
  custom: {
    50: '#6a7aaf',
    500: '#1b488d',
    950: '#000000',
  },
}
SCSS
$custom: #1b488d;
$custom-light: #6a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b488d",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 216.316,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41145,
    "c": 0.12485,
    "h": 259
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#1B488D
secondary
#BD8E46
accent
#A63DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1B488D

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

Preview Lab → · Contrast checker → · Palette generator →

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