#154178#154178

#154178 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.105 H 256.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#154178
RGBrgb(21, 65, 120)
HSLhsl(213, 70%, 28%)
HSVhsv(213, 83%, 47%)
CMYKcmyk(82.5%, 45.8%, 0%, 52.9%)
CIE-LABlab(27.56, 6.67, -35.66)
CIE-LCHlch(27.56, 36.27, 280.59°)
OKLaboklab(37.73% -0.0255 -0.1022)
OKLCHoklch(37.73% 0.105 256)
XYZxyz(5.5885, 5.2954, 18.4932)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154178 #784C15
analogous
#157378 #154178 #1A1578
triadic
#154178 #781541 #417815
tetradic
#154178 #781573 #784C15 #15781A
square
#154178 #781573 #784C15 #15781A
split-complementary
#154178 #781A15 #737815
monochromatic
#050E1A #0C2544 #154178 #1E5DAC #2D7ADA

Accessibility & contrast

On white

10.20
#154178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#154178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154178
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154178#FFFFFF#000000##FFFFFF
##1541781.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#113D77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154178;
/* rgb */ color: rgb(21, 65, 120);
/* oklch */ color: oklch(37.7% 0.105 256.0);
Tailwind
colors: {
  custom: {
    50: '#64759f',
    500: '#154178',
    950: '#000000',
  },
}
SCSS
$custom: #154178;
$custom-light: #64759f;
$custom-dark: #000000;
JSON
{
  "hex": "#154178",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 213.333,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37729,
    "c": 0.10534,
    "h": 256
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#154178
secondary
#AE7B3B
accent
#9E3BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154178

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

Preview Lab → · Contrast checker → · Palette generator →

#154178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva