#154157#154157

#154157 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.6% C 0.061 H 234.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#154157
RGBrgb(21, 65, 87)
HSLhsl(200, 61%, 21%)
HSVhsv(200, 76%, 34%)
CMYKcmyk(75.9%, 25.3%, 0%, 65.9%)
CIE-LABlab(25.65, -6.77, -17.52)
CIE-LCHlch(25.65, 18.79, 248.87°)
OKLaboklab(35.6% -0.0357 -0.0493)
OKLCHoklch(35.6% 0.061 234.1)
XYZxyz(3.9192, 4.6277, 9.7017)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154157 #572B15
analogous
#15574C #154157 #152057
triadic
#154157 #571541 #415715
tetradic
#154157 #4C1557 #572B15 #205715
square
#154157 #4C1557 #572B15 #205715
split-complementary
#154157 #571520 #574C15
monochromatic
#061219 #091C26 #154157 #216688 #2D8BBA

Accessibility & contrast

On white

10.91
#154157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#154157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154157
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154157#FFFFFF#000000##FFFFFF
##1541571.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #154157;
/* rgb */ color: rgb(21, 65, 87);
/* oklch */ color: oklch(35.6% 0.061 234.1);
Tailwind
colors: {
  custom: {
    50: '#5c7586',
    500: '#154157',
    950: '#000000',
  },
}
SCSS
$custom: #154157;
$custom-light: #5c7586;
$custom-dark: #000000;
JSON
{
  "hex": "#154157",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 200,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35602,
    "c": 0.06084,
    "h": 234.1
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#154157
secondary
#8F5639
accent
#7944E4
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #154157

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

Preview Lab → · Contrast checker → · Palette generator →

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