#1B5175#1B5175

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

Color values

HEX#1B5175
RGBrgb(27, 81, 117)
HSLhsl(204, 63%, 28%)
HSVhsv(204, 77%, 46%)
CMYKcmyk(76.9%, 30.8%, 0%, 54.1%)
CIE-LABlab(32.70, -4.38, -25.60)
CIE-LCHlch(32.70, 25.97, 260.30°)
OKLaboklab(41.75% -0.0385 -0.0724)
OKLCHoklch(41.75% 0.082 242)
XYZxyz(6.6041, 7.4015, 17.9067)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5175 #753F1B
analogous
#1B756C #1B5175 #1B2475
triadic
#1B5175 #751B51 #51751B
tetradic
#1B5175 #6C1B75 #753F1B #24751B
square
#1B5175 #6C1B75 #753F1B #24751B
split-complementary
#1B5175 #751B24 #756C1B
monochromatic
#061119 #102F43 #1B5175 #2673A7 #3994D1

Accessibility & contrast

On white

8.47
#1B5175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5175
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5175#FFFFFF#000000##FFFFFF
##1B51751.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b5175;
/* rgb */ color: rgb(27, 81, 117);
/* oklch */ color: oklch(41.8% 0.082 242.0);
Tailwind
colors: {
  custom: {
    50: '#65819d',
    500: '#1b5175',
    950: '#000000',
  },
}
SCSS
$custom: #1b5175;
$custom-light: #65819d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5175",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 204,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.08203,
    "h": 242
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#1B5175
secondary
#A96C42
accent
#8442E6
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B5175

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

Preview Lab → · Contrast checker → · Palette generator →

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