#1B487E#1B487E

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

Color values

HEX#1B487E
RGBrgb(27, 72, 126)
HSLhsl(213, 65%, 30%)
HSVhsv(213, 79%, 49%)
CMYKcmyk(78.6%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.34, 5.10, -34.96)
CIE-LCHlch(30.34, 35.33, 278.30°)
OKLaboklab(40.06% -0.0268 -0.0999)
OKLCHoklch(40.06% 0.103 255)
XYZxyz(6.5339, 6.3733, 20.6204)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B487E #7E511B
analogous
#1B7A7E #1B487E #1F1B7E
triadic
#1B487E #7E1B48 #487E1B
tetradic
#1B487E #7E1B7A #7E511B #1B7E1F
square
#1B487E #7E1B7A #7E511B #1B7E1F
split-complementary
#1B487E #7E1F1B #7A7E1B
monochromatic
#050E19 #102B4C #1B487E #2665B0 #3E83D6

Accessibility & contrast

On white

9.23
#1B487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B487E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B487E#FFFFFF#000000##FFFFFF
##1B487E1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b487e;
/* rgb */ color: rgb(27, 72, 126);
/* oklch */ color: oklch(40.1% 0.103 255.0);
Tailwind
colors: {
  custom: {
    50: '#677aa4',
    500: '#1b487e',
    950: '#000000',
  },
}
SCSS
$custom: #1b487e;
$custom-light: #677aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b487e",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 212.727,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.10349,
    "h": 255
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B487E

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

Preview Lab → · Contrast checker → · Palette generator →

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