#1B4E81#1B4E81

#1B4E81 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.101 H 251.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1B4E81
RGBrgb(27, 78, 129)
HSLhsl(210, 65%, 31%)
HSVhsv(210, 79%, 51%)
CMYKcmyk(79.1%, 39.5%, 0%, 49.4%)
CIE-LABlab(32.40, 2.30, -33.53)
CIE-LCHlch(32.40, 33.61, 273.93°)
OKLaboklab(41.74% -0.0318 -0.0956)
OKLCHoklch(41.74% 0.101 251.6)
XYZxyz(7.1373, 7.2659, 21.7909)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E81 #814E1B
analogous
#1B8181 #1B4E81 #1B1B81
triadic
#1B4E81 #811B4E #4E811B
tetradic
#1B4E81 #811B81 #814E1B #1B811B
square
#1B4E81 #811B81 #814E1B #1B811B
split-complementary
#1B4E81 #811B1B #81811B
monochromatic
#06111C #102F4E #1B4E81 #266DB4 #3F8BD7

Accessibility & contrast

On white

8.56
#1B4E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1B4E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E81
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E81#FFFFFF#000000##FFFFFF
##1B4E811.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365183
Deuteranopia (green-blind)
#264880
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4e81;
/* rgb */ color: rgb(27, 78, 129);
/* oklch */ color: oklch(41.7% 0.101 251.6);
Tailwind
colors: {
  custom: {
    50: '#677fa6',
    500: '#1b4e81',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e81;
$custom-light: #677fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e81",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 210,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.10078,
    "h": 251.6
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#1B4E81
secondary
#B57C43
accent
#943FE8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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