#1B515F#1B515F

#1B515F is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.6% C 0.060 H 218.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1B515F
RGBrgb(27, 81, 95)
HSLhsl(192, 56%, 24%)
HSVhsv(192, 72%, 37%)
CMYKcmyk(71.6%, 14.7%, 0%, 62.7%)
CIE-LABlab(31.68, -12.59, -13.36)
CIE-LCHlch(31.68, 18.36, 226.68°)
OKLaboklab(40.6% -0.0472 -0.0372)
OKLCHoklch(40.6% 0.06 218.2)
XYZxyz(5.4591, 6.9435, 11.8768)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B515F #5F291B
analogous
#1B5F4B #1B515F #1B2F5F
triadic
#1B515F #5F1B51 #515F1B
tetradic
#1B515F #4B1B5F #5F291B #2F5F1B
square
#1B515F #4B1B5F #5F291B #2F5F1B
split-complementary
#1B515F #5F1B2F #5F4B1B
monochromatic
#071418 #0D282F #1B515F #297A8F #36A2BE

Accessibility & contrast

On white

8.79
#1B515F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1B515F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B515F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B515F#FFFFFF#000000##FFFFFF
##1B515F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#3E475F
Tritanopia (blue-blind)
#005655
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b515f;
/* rgb */ color: rgb(27, 81, 95);
/* oklch */ color: oklch(40.6% 0.060 218.2);
Tailwind
colors: {
  custom: {
    50: '#61828c',
    500: '#1b515f',
    950: '#000000',
  },
}
SCSS
$custom: #1b515f;
$custom-light: #61828c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b515f",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 95
  },
  "hsl": {
    "h": 192.353,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.06014,
    "h": 218.2
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#1B515F
secondary
#955241
accent
#6849DF
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#050A0C
muted
#7A7C7D

Preview Lab

Preview with #1B515F

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

Preview Lab → · Contrast checker → · Palette generator →

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