#1B487F#1B487F

#1B487F is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.105 H 255.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#1B487F
RGBrgb(27, 72, 127)
HSLhsl(213, 65%, 30%)
HSVhsv(213, 79%, 50%)
CMYKcmyk(78.7%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.40, 5.51, -35.49)
CIE-LCHlch(30.40, 35.91, 278.82°)
OKLaboklab(40.13% -0.0266 -0.1015)
OKLCHoklch(40.13% 0.105 255.3)
XYZxyz(6.5987, 6.3993, 20.9620)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B487F #7F521B
analogous
#1B7A7F #1B487F #201B7F
triadic
#1B487F #7F1B48 #487F1B
tetradic
#1B487F #7F1B7A #7F521B #1B7F20
square
#1B487F #7F1B7A #7F521B #1B7F20
split-complementary
#1B487F #7F201B #7A7F1B
monochromatic
#060F1A #102B4D #1B487F #2665B1 #3E83D6

Accessibility & contrast

On white

9.21
#1B487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1B487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B487F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B487F#FFFFFF#000000##FFFFFF
##1B487F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#1C437E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b487f;
/* rgb */ color: rgb(27, 72, 127);
/* oklch */ color: oklch(40.1% 0.105 255.3);
Tailwind
colors: {
  custom: {
    50: '#677aa4',
    500: '#1b487f',
    950: '#000000',
  },
}
SCSS
$custom: #1b487f;
$custom-light: #677aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b487f",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 213,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.10491,
    "h": 255.3
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#1B487F
secondary
#B38043
accent
#9C40E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B487F

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

Preview Lab → · Contrast checker → · Palette generator →

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