#154278#154278

#154278 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 38.0% C 0.104 H 255.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#154278
RGBrgb(21, 66, 120)
HSLhsl(213, 70%, 28%)
HSVhsv(213, 83%, 47%)
CMYKcmyk(82.5%, 45%, 0%, 52.9%)
CIE-LABlab(27.88, 5.98, -35.15)
CIE-LCHlch(27.88, 35.65, 279.65°)
OKLaboklab(37.97% -0.0264 -0.1007)
OKLCHoklch(37.97% 0.104 255.3)
XYZxyz(5.6464, 5.4112, 18.5125)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154278 #784B15
analogous
#157478 #154278 #191578
triadic
#154278 #781542 #427815
tetradic
#154278 #781574 #784B15 #157819
square
#154278 #781574 #784B15 #157819
split-complementary
#154278 #781915 #747815
monochromatic
#050E1A #0C2544 #154278 #1E5FAC #2D7CDA

Accessibility & contrast

On white

10.08
#154278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#154278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154278
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154278#FFFFFF#000000##FFFFFF
##1542781.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#143E77
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154278;
/* rgb */ color: rgb(21, 66, 120);
/* oklch */ color: oklch(38.0% 0.104 255.3);
Tailwind
colors: {
  custom: {
    50: '#64759f',
    500: '#154278',
    950: '#000000',
  },
}
SCSS
$custom: #154278;
$custom-light: #64759f;
$custom-dark: #000000;
JSON
{
  "hex": "#154278",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 212.727,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.1041,
    "h": 255.3
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#154278
secondary
#AE7A3B
accent
#9C3BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154278

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

Preview Lab → · Contrast checker → · Palette generator →

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