#154868#154868

#154868 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.5% C 0.076 H 240.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#154868
RGBrgb(21, 72, 104)
HSLhsl(203, 66%, 25%)
HSVhsv(203, 80%, 41%)
CMYKcmyk(79.8%, 30.8%, 0%, 59.2%)
CIE-LABlab(28.88, -4.58, -23.42)
CIE-LCHlch(28.88, 23.86, 258.94°)
OKLaboklab(38.46% -0.037 -0.0662)
OKLCHoklch(38.46% 0.076 240.8)
XYZxyz(5.1243, 5.7930, 13.9421)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154868 #683515
analogous
#15685F #154868 #151E68
triadic
#154868 #681548 #486815
tetradic
#154868 #5F1568 #683515 #1E6815
square
#154868 #5F1568 #683515 #1E6815
split-complementary
#154868 #68151E #685F15
monochromatic
#051219 #0B2535 #154868 #1F6B9B #2A8FCE

Accessibility & contrast

On white

9.73
#154868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#154868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154868
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154868#FFFFFF#000000##FFFFFF
##1548681.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394869
Deuteranopia (green-blind)
#2E4167
Tritanopia (blue-blind)
#005053
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #154868;
/* rgb */ color: rgb(21, 72, 104);
/* oklch */ color: oklch(38.5% 0.076 240.8);
Tailwind
colors: {
  custom: {
    50: '#607a93',
    500: '#154868',
    950: '#000000',
  },
}
SCSS
$custom: #154868;
$custom-light: #607a93;
$custom-dark: #000000;
JSON
{
  "hex": "#154868",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 104
  },
  "hsl": {
    "h": 203.133,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.07589,
    "h": 240.8
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#154868
secondary
#9F613A
accent
#803EE9
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#05090D
muted
#7A7B7E

Preview Lab

Preview with #154868

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

Preview Lab → · Contrast checker → · Palette generator →

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