#154279#154279

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

Color values

HEX#154279
RGBrgb(21, 66, 121)
HSLhsl(213, 70%, 28%)
HSVhsv(213, 83%, 47%)
CMYKcmyk(82.6%, 45.5%, 0%, 52.5%)
CIE-LABlab(27.94, 6.39, -35.67)
CIE-LCHlch(27.94, 36.24, 280.16°)
OKLaboklab(38.05% -0.0262 -0.1022)
OKLCHoklch(38.05% 0.106 255.6)
XYZxyz(5.7074, 5.4357, 18.8338)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154279 #794C15
analogous
#157479 #154279 #1A1579
triadic
#154279 #791542 #427915
tetradic
#154279 #791574 #794C15 #15791A
square
#154279 #791574 #794C15 #15791A
split-complementary
#154279 #791A15 #747915
monochromatic
#050E1A #0C2645 #154279 #1E5EAD #2E7CDB

Accessibility & contrast

On white

10.06
#154279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#154279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154279
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154279#FFFFFF#000000##FFFFFF
##1542791.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154279;
/* rgb */ color: rgb(21, 66, 121);
/* oklch */ color: oklch(38.0% 0.106 255.6);
Tailwind
colors: {
  custom: {
    50: '#6475a0',
    500: '#154279',
    950: '#000000',
  },
}
SCSS
$custom: #154279;
$custom-light: #6475a0;
$custom-dark: #000000;
JSON
{
  "hex": "#154279",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 213,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.10554,
    "h": 255.6
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#154279
secondary
#AF7B3B
accent
#9D3BED
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #154279

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

Preview Lab → · Contrast checker → · Palette generator →

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