#1B5176#1B5176

#1B5176 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.083 H 242.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1B5176
RGBrgb(27, 81, 118)
HSLhsl(204, 63%, 28%)
HSVhsv(204, 77%, 46%)
CMYKcmyk(77.1%, 31.4%, 0%, 53.7%)
CIE-LABlab(32.76, -3.99, -26.15)
CIE-LCHlch(32.76, 26.45, 261.33°)
OKLaboklab(41.81% -0.0382 -0.074)
OKLCHoklch(41.81% 0.083 242.7)
XYZxyz(6.6632, 7.4251, 18.2180)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5176 #76401B
analogous
#1B766D #1B5176 #1B2376
triadic
#1B5176 #761B51 #51761B
tetradic
#1B5176 #6D1B76 #76401B #23761B
square
#1B5176 #6D1B76 #76401B #23761B
split-complementary
#1B5176 #761B23 #766D1B
monochromatic
#061119 #102F44 #1B5176 #2673A8 #3A94D2

Accessibility & contrast

On white

8.45
#1B5176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B5176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5176
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5176#FFFFFF#000000##FFFFFF
##1B51761.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405278
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#005A5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5176;
/* rgb */ color: rgb(27, 81, 118);
/* oklch */ color: oklch(41.8% 0.083 242.7);
Tailwind
colors: {
  custom: {
    50: '#65819d',
    500: '#1b5176',
    950: '#000000',
  },
}
SCSS
$custom: #1b5176;
$custom-light: #65819d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5176",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 118
  },
  "hsl": {
    "h": 204.396,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.08327,
    "h": 242.7
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#1B5176
secondary
#AA6D42
accent
#8542E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5176

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

Preview Lab → · Contrast checker → · Palette generator →

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