#154768#154768

#154768 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.2% C 0.077 H 242.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#154768
RGBrgb(21, 71, 104)
HSLhsl(204, 66%, 25%)
HSVhsv(204, 80%, 41%)
CMYKcmyk(79.8%, 31.7%, 0%, 59.2%)
CIE-LABlab(28.55, -3.93, -23.94)
CIE-LCHlch(28.55, 24.26, 260.67°)
OKLaboklab(38.19% -0.036 -0.0678)
OKLCHoklch(38.19% 0.077 242.1)
XYZxyz(5.0602, 5.6648, 13.9207)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154768 #683615
analogous
#156860 #154768 #151E68
triadic
#154768 #681547 #476815
tetradic
#154768 #601568 #683615 #1E6815
square
#154768 #601568 #683615 #1E6815
split-complementary
#154768 #68151E #686015
monochromatic
#051119 #0B2435 #154768 #1F6A9B #2A8DCE

Accessibility & contrast

On white

9.85
#154768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#154768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154768
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154768#FFFFFF#000000##FFFFFF
##1547681.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384869
Deuteranopia (green-blind)
#2C4067
Tritanopia (blue-blind)
#004F53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #154768;
/* rgb */ color: rgb(21, 71, 104);
/* oklch */ color: oklch(38.2% 0.077 242.1);
Tailwind
colors: {
  custom: {
    50: '#607a93',
    500: '#154768',
    950: '#000000',
  },
}
SCSS
$custom: #154768;
$custom-light: #607a93;
$custom-dark: #000000;
JSON
{
  "hex": "#154768",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 104
  },
  "hsl": {
    "h": 203.855,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.38194,
    "c": 0.07674,
    "h": 242.1
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#154768
secondary
#9F623A
accent
#823EE9
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#05090D
muted
#7A7B7E

Preview Lab

Preview with #154768

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

Preview Lab → · Contrast checker → · Palette generator →

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