#1B4E70#1B4E70

#1B4E70 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.7% C 0.078 H 241.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1B4E70
RGBrgb(27, 78, 112)
HSLhsl(204, 61%, 27%)
HSVhsv(204, 76%, 44%)
CMYKcmyk(75.9%, 30.4%, 0%, 56.1%)
CIE-LABlab(31.47, -4.41, -24.42)
CIE-LCHlch(31.47, 24.81, 259.77°)
OKLaboklab(40.69% -0.0371 -0.069)
OKLCHoklch(40.69% 0.078 241.8)
XYZxyz(6.0999, 6.8510, 16.3270)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E70 #703D1B
analogous
#1B7068 #1B4E70 #1B2470
triadic
#1B4E70 #701B4E #4E701B
tetradic
#1B4E70 #681B70 #703D1B #24701B
square
#1B4E70 #681B70 #703D1B #24701B
split-complementary
#1B4E70 #701B24 #70681B
monochromatic
#061119 #0F2C3F #1B4E70 #2770A1 #3792CF

Accessibility & contrast

On white

8.86
#1B4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1B4E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E70
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E70#FFFFFF#000000##FFFFFF
##1B4E701.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F72
Deuteranopia (green-blind)
#33466F
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4e70;
/* rgb */ color: rgb(27, 78, 112);
/* oklch */ color: oklch(40.7% 0.078 241.8);
Tailwind
colors: {
  custom: {
    50: '#647f99',
    500: '#1b4e70',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e70;
$custom-light: #647f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e70",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 204,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.07834,
    "h": 241.8
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#1B4E70
secondary
#A56A42
accent
#8444E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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