#154078#154078

#154078 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.107 H 256.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#154078
RGBrgb(21, 64, 120)
HSLhsl(214, 70%, 28%)
HSVhsv(214, 83%, 47%)
CMYKcmyk(82.5%, 46.7%, 0%, 52.9%)
CIE-LABlab(27.25, 7.36, -36.16)
CIE-LCHlch(27.25, 36.90, 281.50°)
OKLaboklab(37.49% -0.0246 -0.1037)
OKLCHoklch(37.49% 0.107 256.6)
XYZxyz(5.5316, 5.1816, 18.4743)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154078 #784D15
analogous
#157278 #154078 #1B1578
triadic
#154078 #781540 #407815
tetradic
#154078 #781572 #784D15 #15781B
square
#154078 #781572 #784D15 #15781B
split-complementary
#154078 #781B15 #727815
monochromatic
#050E1A #0C2444 #154078 #1E5CAC #2D78DA

Accessibility & contrast

On white

10.31
#154078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#154078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154078
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154078#FFFFFF#000000##FFFFFF
##1540781.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#0D3C77
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154078;
/* rgb */ color: rgb(21, 64, 120);
/* oklch */ color: oklch(37.5% 0.107 256.6);
Tailwind
colors: {
  custom: {
    50: '#64749f',
    500: '#154078',
    950: '#000000',
  },
}
SCSS
$custom: #154078;
$custom-light: #64749f;
$custom-dark: #000000;
JSON
{
  "hex": "#154078",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 213.939,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37486,
    "c": 0.10659,
    "h": 256.6
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#154078
secondary
#AE7C3B
accent
#A03BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154078

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

Preview Lab → · Contrast checker → · Palette generator →

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