#154255#154255

#154255 is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.8% C 0.058 H 229.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#154255
RGBrgb(21, 66, 85)
HSLhsl(198, 60%, 21%)
HSVhsv(198, 75%, 33%)
CMYKcmyk(75.3%, 22.4%, 0%, 66.7%)
CIE-LABlab(25.90, -8.18, -15.83)
CIE-LCHlch(25.90, 17.82, 242.67°)
OKLaboklab(35.77% -0.0377 -0.0444)
OKLCHoklch(35.77% 0.058 229.7)
XYZxyz(3.8965, 4.7113, 9.2966)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154255 #552815
analogous
#155548 #154255 #152255
triadic
#154255 #551542 #425515
tetradic
#154255 #481555 #552815 #225515
square
#154255 #481555 #552815 #225515
split-complementary
#154255 #551522 #554815
monochromatic
#061319 #091C24 #154255 #216886 #2D8EB7

Accessibility & contrast

On white

10.81
#154255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#154255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154255
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154255#FFFFFF#000000##FFFFFF
##1542551.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384156
Deuteranopia (green-blind)
#2F3B55
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #154255;
/* rgb */ color: rgb(21, 66, 85);
/* oklch */ color: oklch(35.8% 0.058 229.7);
Tailwind
colors: {
  custom: {
    50: '#5c7685',
    500: '#154255',
    950: '#000000',
  },
}
SCSS
$custom: #154255;
$custom-light: #5c7685;
$custom-dark: #000000;
JSON
{
  "hex": "#154255",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 197.813,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35769,
    "c": 0.05823,
    "h": 229.7
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#154255
secondary
#8D5239
accent
#7444E4
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #154255

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

Preview Lab → · Contrast checker → · Palette generator →

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