#1B487B#1B487B

#1B487B is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.099 H 253.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1B487B
RGBrgb(27, 72, 123)
HSLhsl(212, 64%, 29%)
HSVhsv(212, 78%, 48%)
CMYKcmyk(78%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.15, 3.89, -33.39)
CIE-LCHlch(30.15, 33.61, 276.64°)
OKLaboklab(39.86% -0.0276 -0.0953)
OKLCHoklch(39.86% 0.099 253.9)
XYZxyz(6.3432, 6.2971, 19.6162)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B487B #7B4E1B
analogous
#1B787B #1B487B #1E1B7B
triadic
#1B487B #7B1B48 #487B1B
tetradic
#1B487B #7B1B78 #7B4E1B #1B7B1E
square
#1B487B #7B1B78 #7B4E1B #1B7B1E
split-complementary
#1B487B #7B1E1B #787B1B
monochromatic
#060F19 #102B49 #1B487B #2665AD #3C83D4

Accessibility & contrast

On white

9.29
#1B487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B487B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B487B#FFFFFF#000000##FFFFFF
##1B487B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#20437A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b487b;
/* rgb */ color: rgb(27, 72, 123);
/* oklch */ color: oklch(39.9% 0.099 253.9);
Tailwind
colors: {
  custom: {
    50: '#667aa1',
    500: '#1b487b',
    950: '#000000',
  },
}
SCSS
$custom: #1b487b;
$custom-light: #667aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b487b",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 211.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.09923,
    "h": 253.9
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#1B487B
secondary
#AF7C43
accent
#9941E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1B487B

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

Preview Lab → · Contrast checker → · Palette generator →

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