#1B488C#1B488C

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

Color values

HEX#1B488C
RGBrgb(27, 72, 140)
HSLhsl(216, 68%, 33%)
HSVhsv(216, 81%, 55%)
CMYKcmyk(80.7%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.25, 10.79, -42.15)
CIE-LCHlch(31.25, 43.51, 284.35°)
OKLaboklab(41.07% -0.024 -0.1211)
OKLCHoklch(41.07% 0.123 258.8)
XYZxyz(7.5013, 6.7603, 25.7154)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B488C #8C5F1B
analogous
#1B818C #1B488C #261B8C
triadic
#1B488C #8C1B48 #488C1B
tetradic
#1B488C #8C1B81 #8C5F1B #1B8C26
square
#1B488C #8C1B81 #8C5F1B #1B8C26
split-complementary
#1B488C #8C261B #818C1B
monochromatic
#071325 #112E59 #1B488C #2562BF #4682DB

Accessibility & contrast

On white

8.93
#1B488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B488C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B488C#FFFFFF#000000##FFFFFF
##1B488C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b488c;
/* rgb */ color: rgb(27, 72, 140);
/* oklch */ color: oklch(41.1% 0.123 258.8);
Tailwind
colors: {
  custom: {
    50: '#6a7aae',
    500: '#1b488c',
    950: '#000000',
  },
}
SCSS
$custom: #1b488c;
$custom-light: #6a7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b488c",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 216.106,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.12343,
    "h": 258.8
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B488C

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

Preview Lab → · Contrast checker → · Palette generator →

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