#1B487A#1B487A

#1B487A is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.098 H 253.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1B487A
RGBrgb(27, 72, 122)
HSLhsl(212, 64%, 29%)
HSVhsv(212, 78%, 48%)
CMYKcmyk(77.9%, 41%, 0%, 52.2%)
CIE-LABlab(30.09, 3.49, -32.86)
CIE-LCHlch(30.09, 33.04, 276.06°)
OKLaboklab(39.79% -0.0278 -0.0938)
OKLCHoklch(39.79% 0.098 253.5)
XYZxyz(6.2809, 6.2722, 19.2882)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B487A #7A4D1B
analogous
#1B787A #1B487A #1E1B7A
triadic
#1B487A #7A1B48 #487A1B
tetradic
#1B487A #7A1B78 #7A4D1B #1B7A1E
square
#1B487A #7A1B78 #7A4D1B #1B7A1E
split-complementary
#1B487A #7A1E1B #787A1B
monochromatic
#060F19 #102A48 #1B487A #2666AC #3C84D4

Accessibility & contrast

On white

9.31
#1B487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B487A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B487A#FFFFFF#000000##FFFFFF
##1B487A1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#214379
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b487a;
/* rgb */ color: rgb(27, 72, 122);
/* oklch */ color: oklch(39.8% 0.098 253.5);
Tailwind
colors: {
  custom: {
    50: '#667aa1',
    500: '#1b487a',
    950: '#000000',
  },
}
SCSS
$custom: #1b487a;
$custom-light: #667aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b487a",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 211.579,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39791,
    "c": 0.09781,
    "h": 253.5
  },
  "luminance": 0.06273
}

Semantic roles & 50–950 ramp

primary
#1B487A
secondary
#AE7B43
accent
#9841E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090F
muted
#7A7B7E

Preview Lab

Preview with #1B487A

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

Preview Lab → · Contrast checker → · Palette generator →

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