#154B5F#154B5F

#154B5F is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 38.8% C 0.064 H 227.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#154B5F
RGBrgb(21, 75, 95)
HSLhsl(196, 64%, 23%)
HSVhsv(196, 78%, 37%)
CMYKcmyk(77.9%, 21.1%, 0%, 62.7%)
CIE-LABlab(29.46, -9.97, -16.79)
CIE-LCHlch(29.46, 19.52, 239.30°)
OKLaboklab(38.77% -0.0438 -0.0471)
OKLCHoklch(38.77% 0.064 227)
XYZxyz(4.8901, 6.0172, 11.7280)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B5F #5F2915
analogous
#155F4E #154B5F #15265F
triadic
#154B5F #5F154B #4B5F15
tetradic
#154B5F #4E155F #5F2915 #265F15
square
#154B5F #4E155F #5F2915 #265F15
split-complementary
#154B5F #5F1526 #5F4E15
monochromatic
#061419 #0A232D #154B5F #207391 #2B9AC3

Accessibility & contrast

On white

9.53
#154B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#154B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B5F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B5F#FFFFFF#000000##FFFFFF
##154B5F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154b5f;
/* rgb */ color: rgb(21, 75, 95);
/* oklch */ color: oklch(38.8% 0.064 227.0);
Tailwind
colors: {
  custom: {
    50: '#5e7d8c',
    500: '#154b5f',
    950: '#000000',
  },
}
SCSS
$custom: #154b5f;
$custom-light: #5e7d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#154b5f",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 95
  },
  "hsl": {
    "h": 196.216,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38768,
    "c": 0.0643,
    "h": 227
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#154B5F
secondary
#96533A
accent
#6E41E7
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #154B5F

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

Preview Lab → · Contrast checker → · Palette generator →

#154B5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva