#1B516F#1B516F

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

Color values

HEX#1B516F
RGBrgb(27, 81, 111)
HSLhsl(201, 61%, 27%)
HSVhsv(201, 76%, 44%)
CMYKcmyk(75.7%, 27%, 0%, 56.5%)
CIE-LABlab(32.40, -6.68, -22.32)
CIE-LCHlch(32.40, 23.30, 253.33°)
OKLaboklab(41.42% -0.0407 -0.0629)
OKLCHoklch(41.42% 0.075 237.1)
XYZxyz(6.2625, 7.2649, 16.1080)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B516F #6F391B
analogous
#1B6F63 #1B516F #1B276F
triadic
#1B516F #6F1B51 #516F1B
tetradic
#1B516F #631B6F #6F391B #276F1B
square
#1B516F #631B6F #6F391B #276F1B
split-complementary
#1B516F #6F1B27 #6F631B
monochromatic
#061219 #0F2D3E #1B516F #2775A0 #3698CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B516F#FFFFFF#000000##FFFFFF
##1B516F1.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)
#435170
Deuteranopia (green-blind)
#37496E
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b516f;
/* rgb */ color: rgb(27, 81, 111);
/* oklch */ color: oklch(41.4% 0.075 237.1);
Tailwind
colors: {
  custom: {
    50: '#648198',
    500: '#1b516f',
    950: '#000000',
  },
}
SCSS
$custom: #1b516f;
$custom-light: #648198;
$custom-dark: #000000;
JSON
{
  "hex": "#1b516f",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 111
  },
  "hsl": {
    "h": 201.429,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.07492,
    "h": 237.1
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#1B516F
secondary
#A46542
accent
#7D44E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1B516F

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

Preview Lab → · Contrast checker → · Palette generator →

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