#154C7B#154C7B

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

Color values

HEX#154C7B
RGBrgb(21, 76, 123)
HSLhsl(208, 71%, 28%)
HSVhsv(208, 83%, 48%)
CMYKcmyk(82.9%, 38.2%, 0%, 51.8%)
CIE-LABlab(31.25, 0.47, -31.65)
CIE-LCHlch(31.25, 31.66, 270.85°)
OKLaboklab(40.67% -0.0349 -0.0902)
OKLCHoklch(40.67% 0.097 248.8)
XYZxyz(6.4675, 6.7576, 19.6985)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C7B #7B4415
analogous
#157B77 #154C7B #15197B
triadic
#154C7B #7B154C #4C7B15
tetradic
#154C7B #77157B #7B4415 #197B15
square
#154C7B #77157B #7B4415 #197B15
split-complementary
#154C7B #7B1519 #7B7715
monochromatic
#04101A #0C2C47 #154C7B #1E6CAF #2F8CDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154C7B#FFFFFF#000000##FFFFFF
##154C7B1.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)
#364F7D
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154c7b;
/* rgb */ color: rgb(21, 76, 123);
/* oklch */ color: oklch(40.7% 0.097 248.8);
Tailwind
colors: {
  custom: {
    50: '#647da1',
    500: '#154c7b',
    950: '#000000',
  },
}
SCSS
$custom: #154c7b;
$custom-light: #647da1;
$custom-dark: #000000;
JSON
{
  "hex": "#154c7b",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 207.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.09675,
    "h": 248.8
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#154C7B
secondary
#B0713B
accent
#8D3AEE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090F
muted
#7A7B7E

Preview Lab

Preview with #154C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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