#155279#155279

#155279 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.088 H 242.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#155279
RGBrgb(21, 82, 121)
HSLhsl(203, 70%, 28%)
HSVhsv(203, 83%, 47%)
CMYKcmyk(82.6%, 32.2%, 0%, 52.5%)
CIE-LABlab(33.08, -4.22, -27.52)
CIE-LCHlch(33.08, 27.84, 261.28°)
OKLaboklab(42.07% -0.0414 -0.078)
OKLCHoklch(42.07% 0.088 242.1)
XYZxyz(6.7764, 7.5737, 19.1902)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155279 #793C15
analogous
#15796E #155279 #152079
triadic
#155279 #791552 #527915
tetradic
#155279 #6E1579 #793C15 #207915
square
#155279 #6E1579 #793C15 #207915
split-complementary
#155279 #791520 #796E15
monochromatic
#05121A #0C2F45 #155279 #1E75AD #2E97DB

Accessibility & contrast

On white

8.35
#155279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#155279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155279
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155279#FFFFFF#000000##FFFFFF
##1552791.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#324A78
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155279;
/* rgb */ color: rgb(21, 82, 121);
/* oklch */ color: oklch(42.1% 0.088 242.1);
Tailwind
colors: {
  custom: {
    50: '#6482a0',
    500: '#155279',
    950: '#000000',
  },
}
SCSS
$custom: #155279;
$custom-light: #6482a0;
$custom-dark: #000000;
JSON
{
  "hex": "#155279",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 203.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.08833,
    "h": 242.1
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#155279
secondary
#AF683B
accent
#803BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #155279

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

Preview Lab → · Contrast checker → · Palette generator →

#155279 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva