#155271#155271

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

Color values

HEX#155271
RGBrgb(21, 82, 113)
HSLhsl(200, 69%, 26%)
HSVhsv(200, 81%, 44%)
CMYKcmyk(81.4%, 27.4%, 0%, 55.7%)
CIE-LABlab(32.67, -7.37, -23.17)
CIE-LCHlch(32.67, 24.31, 252.37°)
OKLaboklab(41.61% -0.0442 -0.0654)
OKLCHoklch(41.61% 0.079 235.9)
XYZxyz(6.3060, 7.3855, 16.7128)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155271 #713415
analogous
#157162 #155271 #152471
triadic
#155271 #711552 #527115
tetradic
#155271 #621571 #713415 #247115
square
#155271 #621571 #713415 #247115
split-complementary
#155271 #711524 #716215
monochromatic
#05131A #0B2D3D #155271 #1F77A5 #299DD7

Accessibility & contrast

On white

8.48
#155271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#155271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##155271#FFFFFF#000000##FFFFFF
##1552711.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)
#435272
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #155271;
/* rgb */ color: rgb(21, 82, 113);
/* oklch */ color: oklch(41.6% 0.079 235.9);
Tailwind
colors: {
  custom: {
    50: '#62829a',
    500: '#155271',
    950: '#000000',
  },
}
SCSS
$custom: #155271;
$custom-light: #62829a;
$custom-dark: #000000;
JSON
{
  "hex": "#155271",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 200.217,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.07897,
    "h": 235.9
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#155271
secondary
#A75F3B
accent
#773CEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #155271

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

Preview Lab → · Contrast checker → · Palette generator →

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