#154874#154874

#154874 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.2% C 0.092 H 248.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#154874
RGBrgb(21, 72, 116)
HSLhsl(208, 69%, 27%)
HSVhsv(208, 82%, 45%)
CMYKcmyk(81.9%, 37.9%, 0%, 54.5%)
CIE-LABlab(29.55, 0.26, -29.97)
CIE-LCHlch(29.55, 29.97, 270.51°)
OKLaboklab(39.2% -0.0331 -0.0854)
OKLCHoklch(39.2% 0.092 248.8)
XYZxyz(5.7778, 6.0544, 17.3837)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154874 #744115
analogous
#157471 #154874 #151974
triadic
#154874 #741548 #487415
tetradic
#154874 #711574 #744115 #197415
square
#154874 #711574 #744115 #197415
split-complementary
#154874 #741519 #747115
monochromatic
#05101A #0C2840 #154874 #1E68A8 #2B88D9

Accessibility & contrast

On white

9.50
#154874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#154874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154874
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154874#FFFFFF#000000##FFFFFF
##1548741.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#254273
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154874;
/* rgb */ color: rgb(21, 72, 116);
/* oklch */ color: oklch(39.2% 0.092 248.8);
Tailwind
colors: {
  custom: {
    50: '#637a9c',
    500: '#154874',
    950: '#000000',
  },
}
SCSS
$custom: #154874;
$custom-light: #637a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#154874",
  "rgb": {
    "r": 21,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 207.789,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.392,
    "c": 0.09156,
    "h": 248.8
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#154874
secondary
#AA6E3B
accent
#8D3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154874

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

Preview Lab → · Contrast checker → · Palette generator →

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