#154E6F#154E6F

#154E6F is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.4% C 0.080 H 239.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#154E6F
RGBrgb(21, 78, 111)
HSLhsl(202, 68%, 26%)
HSVhsv(202, 81%, 44%)
CMYKcmyk(81.1%, 29.7%, 0%, 56.5%)
CIE-LABlab(31.24, -5.64, -24.15)
CIE-LCHlch(31.24, 24.80, 256.86°)
OKLaboklab(40.45% -0.0408 -0.0683)
OKLCHoklch(40.45% 0.08 239.1)
XYZxyz(5.9018, 6.7552, 16.0287)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E6F #6F3615
analogous
#156F63 #154E6F #15216F
triadic
#154E6F #6F154E #4E6F15
tetradic
#154E6F #63156F #6F3615 #216F15
square
#154E6F #63156F #6F3615 #216F15
split-complementary
#154E6F #6F1521 #6F6315
monochromatic
#05121A #0B2A3C #154E6F #1F72A2 #2896D6

Accessibility & contrast

On white

8.93
#154E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#154E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E6F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E6F#FFFFFF#000000##FFFFFF
##154E6F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E70
Deuteranopia (green-blind)
#32466E
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154e6f;
/* rgb */ color: rgb(21, 78, 111);
/* oklch */ color: oklch(40.4% 0.080 239.1);
Tailwind
colors: {
  custom: {
    50: '#627f98',
    500: '#154e6f',
    950: '#000000',
  },
}
SCSS
$custom: #154e6f;
$custom-light: #627f98;
$custom-dark: #000000;
JSON
{
  "hex": "#154e6f",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 202,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.07956,
    "h": 239.1
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#154E6F
secondary
#A5623A
accent
#7D3DEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #154E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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