#154E7C#154E7C

#154E7C is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.2% C 0.096 H 247.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#154E7C
RGBrgb(21, 78, 124)
HSLhsl(207, 71%, 28%)
HSVhsv(207, 83%, 49%)
CMYKcmyk(83.1%, 37.1%, 0%, 51.4%)
CIE-LABlab(31.95, -0.44, -31.16)
CIE-LCHlch(31.95, 31.17, 269.20°)
OKLaboklab(41.24% -0.0366 -0.0888)
OKLCHoklch(41.24% 0.096 247.6)
XYZxyz(6.6703, 7.0626, 20.0765)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154E7C #7C4315
analogous
#157C76 #154E7C #151B7C
triadic
#154E7C #7C154E #4E7C15
tetradic
#154E7C #76157C #7C4315 #1B7C15
square
#154E7C #76157C #7C4315 #1B7C15
split-complementary
#154E7C #7C151B #7C7615
monochromatic
#04101A #0C2D48 #154E7C #1E6FB0 #308FDC

Accessibility & contrast

On white

8.70
#154E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#154E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154E7C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154E7C#FFFFFF#000000##FFFFFF
##154E7C1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507E
Deuteranopia (green-blind)
#29477B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154e7c;
/* rgb */ color: rgb(21, 78, 124);
/* oklch */ color: oklch(41.2% 0.096 247.6);
Tailwind
colors: {
  custom: {
    50: '#657fa2',
    500: '#154e7c',
    950: '#000000',
  },
}
SCSS
$custom: #154e7c;
$custom-light: #657fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#154e7c",
  "rgb": {
    "r": 21,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 206.796,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41237,
    "c": 0.09599,
    "h": 247.6
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#154E7C
secondary
#B1703C
accent
#8A3AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #154E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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