#1B488A#1B488A

#1B488A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 40.9% C 0.121 H 258.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#1B488A
RGBrgb(27, 72, 138)
HSLhsl(216, 67%, 32%)
HSVhsv(216, 80%, 54%)
CMYKcmyk(80.4%, 47.8%, 0%, 45.9%)
CIE-LABlab(31.12, 9.97, -41.14)
CIE-LCHlch(31.12, 42.33, 283.63°)
OKLaboklab(40.92% -0.0243 -0.1181)
OKLCHoklch(40.92% 0.121 258.4)
XYZxyz(7.3551, 6.7019, 24.9458)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B488A #8A5D1B
analogous
#1B7F8A #1B488A #261B8A
triadic
#1B488A #8A1B48 #488A1B
tetradic
#1B488A #8A1B7F #8A5D1B #1B8A26
square
#1B488A #8A1B7F #8A5D1B #1B8A26
split-complementary
#1B488A #8A261B #7F8A1B
monochromatic
#071324 #112D57 #1B488A #2563BD #4582DB

Accessibility & contrast

On white

8.97
#1B488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1B488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B488A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B488A#FFFFFF#000000##FFFFFF
##1B488A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8C
Deuteranopia (green-blind)
#064589
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b488a;
/* rgb */ color: rgb(27, 72, 138);
/* oklch */ color: oklch(40.9% 0.121 258.4);
Tailwind
colors: {
  custom: {
    50: '#6a7aad',
    500: '#1b488a',
    950: '#000000',
  },
}
SCSS
$custom: #1b488a;
$custom-light: #6a7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b488a",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 215.676,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.12059,
    "h": 258.4
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#1B488A
secondary
#BC8C45
accent
#A43EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B488A

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

Preview Lab → · Contrast checker → · Palette generator →

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