#154F7C#154F7C

#154F7C is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.095 H 246.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#154F7C
RGBrgb(21, 79, 124)
HSLhsl(206, 71%, 28%)
HSVhsv(206, 83%, 49%)
CMYKcmyk(83.1%, 36.3%, 0%, 51.4%)
CIE-LABlab(32.27, -1.09, -30.65)
CIE-LCHlch(32.27, 30.67, 267.96°)
OKLaboklab(41.49% -0.0375 -0.0872)
OKLCHoklch(41.49% 0.095 246.7)
XYZxyz(6.7419, 7.2058, 20.1004)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F7C #7C4215
analogous
#157C75 #154F7C #151B7C
triadic
#154F7C #7C154F #4F7C15
tetradic
#154F7C #75157C #7C4215 #1B7C15
square
#154F7C #75157C #7C4215 #1B7C15
split-complementary
#154F7C #7C151B #7C7515
monochromatic
#04111A #0C2E48 #154F7C #1E70B0 #3091DC

Accessibility & contrast

On white

8.60
#154F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#154F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F7C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F7C#FFFFFF#000000##FFFFFF
##154F7C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#2B487B
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154f7c;
/* rgb */ color: rgb(21, 79, 124);
/* oklch */ color: oklch(41.5% 0.095 246.7);
Tailwind
colors: {
  custom: {
    50: '#6580a2',
    500: '#154f7c',
    950: '#000000',
  },
}
SCSS
$custom: #154f7c;
$custom-light: #6580a2;
$custom-dark: #000000;
JSON
{
  "hex": "#154f7c",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 206.214,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.09497,
    "h": 246.7
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#154F7C
secondary
#B16F3C
accent
#893AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #154F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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