#154C7E#154C7E

#154C7E is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.101 H 250.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#154C7E
RGBrgb(21, 76, 126)
HSLhsl(209, 71%, 29%)
HSVhsv(209, 83%, 49%)
CMYKcmyk(83.3%, 39.7%, 0%, 50.6%)
CIE-LABlab(31.43, 1.69, -33.24)
CIE-LCHlch(31.43, 33.28, 272.92°)
OKLaboklab(40.86% -0.0341 -0.0949)
OKLCHoklch(40.86% 0.101 250.2)
XYZxyz(6.6582, 6.8339, 20.7028)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154C7E #7E4715
analogous
#157E7C #154C7E #15187E
triadic
#154C7E #7E154C #4C7E15
tetradic
#154C7E #7C157E #7E4715 #187E15
square
#154C7E #7C157E #7E4715 #187E15
split-complementary
#154C7E #7E1518 #7E7C15
monochromatic
#04101A #0C2C4A #154C7E #1E6CB2 #318BDD

Accessibility & contrast

On white

8.87
#154C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#154C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154C7E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154C7E#FFFFFF#000000##FFFFFF
##154C7E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#24467D
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #154c7e;
/* rgb */ color: rgb(21, 76, 126);
/* oklch */ color: oklch(40.9% 0.101 250.2);
Tailwind
colors: {
  custom: {
    50: '#657da4',
    500: '#154c7e',
    950: '#000000',
  },
}
SCSS
$custom: #154c7e;
$custom-light: #657da4;
$custom-dark: #000000;
JSON
{
  "hex": "#154c7e",
  "rgb": {
    "r": 21,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 208.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.10082,
    "h": 250.2
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#154C7E
secondary
#B3753C
accent
#903AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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