#1B487D#1B487D

#1B487D is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 40.0% C 0.102 H 254.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1B487D
RGBrgb(27, 72, 125)
HSLhsl(212, 64%, 30%)
HSVhsv(212, 78%, 49%)
CMYKcmyk(78.4%, 42.4%, 0%, 51%)
CIE-LABlab(30.27, 4.70, -34.44)
CIE-LCHlch(30.27, 34.76, 277.77°)
OKLaboklab(39.99% -0.0271 -0.0984)
OKLCHoklch(39.99% 0.102 254.6)
XYZxyz(6.4697, 6.3477, 20.2823)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B487D #7D501B
analogous
#1B797D #1B487D #1F1B7D
triadic
#1B487D #7D1B48 #487D1B
tetradic
#1B487D #7D1B79 #7D501B #1B7D1F
square
#1B487D #7D1B79 #7D501B #1B7D1F
split-complementary
#1B487D #7D1F1B #797D1B
monochromatic
#050E19 #102B4B #1B487D #2665AF #3D83D5

Accessibility & contrast

On white

9.25
#1B487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B487D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B487D#FFFFFF#000000##FFFFFF
##1B487D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b487d;
/* rgb */ color: rgb(27, 72, 125);
/* oklch */ color: oklch(40.0% 0.102 254.6);
Tailwind
colors: {
  custom: {
    50: '#677aa3',
    500: '#1b487d',
    950: '#000000',
  },
}
SCSS
$custom: #1b487d;
$custom-light: #677aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b487d",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 212.449,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39994,
    "c": 0.10207,
    "h": 254.6
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#1B487D
secondary
#B17E43
accent
#9B40E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B487D

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

Preview Lab → · Contrast checker → · Palette generator →

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