#155181#155181

#155181 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.099 H 247.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#155181
RGBrgb(21, 81, 129)
HSLhsl(207, 72%, 29%)
HSVhsv(207, 84%, 51%)
CMYKcmyk(83.7%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.20, -0.37, -32.28)
CIE-LCHlch(33.20, 32.28, 269.34°)
OKLaboklab(42.31% -0.0379 -0.092)
OKLCHoklch(42.31% 0.099 247.6)
XYZxyz(7.2126, 7.6284, 21.8569)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155181 #814515
analogous
#15817B #155181 #151B81
triadic
#155181 #811551 #518115
tetradic
#155181 #7B1581 #814515 #1B8115
square
#155181 #7B1581 #814515 #1B8115
split-complementary
#155181 #81151B #817B15
monochromatic
#04111A #0C304C #155181 #1E72B6 #3392DE

Accessibility & contrast

On white

8.31
#155181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#155181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155181
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155181#FFFFFF#000000##FFFFFF
##1551811.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5383
Deuteranopia (green-blind)
#2A4A80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #155181;
/* rgb */ color: rgb(21, 81, 129);
/* oklch */ color: oklch(42.3% 0.099 247.6);
Tailwind
colors: {
  custom: {
    50: '#6681a6',
    500: '#155181',
    950: '#000000',
  },
}
SCSS
$custom: #155181;
$custom-light: #6681a6;
$custom-dark: #000000;
JSON
{
  "hex": "#155181",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 206.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.09949,
    "h": 247.6
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#155181
secondary
#B6723C
accent
#8A39EF
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #155181

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

Preview Lab → · Contrast checker → · Palette generator →

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