#1B5174#1B5174

#1B5174 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.081 H 241.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1B5174
RGBrgb(27, 81, 116)
HSLhsl(204, 62%, 28%)
HSVhsv(204, 77%, 45%)
CMYKcmyk(76.7%, 30.2%, 0%, 54.5%)
CIE-LABlab(32.65, -4.76, -25.06)
CIE-LCHlch(32.65, 25.51, 259.24°)
OKLaboklab(41.7% -0.0389 -0.0708)
OKLCHoklch(41.7% 0.081 241.2)
XYZxyz(6.5456, 7.3781, 17.5987)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5174 #743E1B
analogous
#1B746B #1B5174 #1B2474
triadic
#1B5174 #741B51 #51741B
tetradic
#1B5174 #6B1B74 #743E1B #24741B
square
#1B5174 #6B1B74 #743E1B #24741B
split-complementary
#1B5174 #741B24 #746B1B
monochromatic
#061119 #0F2E42 #1B5174 #2774A6 #3995D1

Accessibility & contrast

On white

8.48
#1B5174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1B5174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5174
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5174#FFFFFF#000000##FFFFFF
##1B51741.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415176
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b5174;
/* rgb */ color: rgb(27, 81, 116);
/* oklch */ color: oklch(41.7% 0.081 241.2);
Tailwind
colors: {
  custom: {
    50: '#65819c',
    500: '#1b5174',
    950: '#000000',
  },
}
SCSS
$custom: #1b5174;
$custom-light: #65819c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5174",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 203.596,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.08082,
    "h": 241.2
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#1B5174
secondary
#A96A42
accent
#8342E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5174

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

Preview Lab → · Contrast checker → · Palette generator →

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