#154774#154774

#154774 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.093 H 249.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#154774
RGBrgb(21, 71, 116)
HSLhsl(208, 69%, 27%)
HSVhsv(208, 82%, 45%)
CMYKcmyk(81.9%, 38.8%, 0%, 54.5%)
CIE-LABlab(29.23, 0.93, -30.48)
CIE-LCHlch(29.23, 30.49, 271.75°)
OKLaboklab(38.95% -0.0321 -0.0869)
OKLCHoklch(38.95% 0.093 249.7)
XYZxyz(5.7137, 5.9262, 17.3623)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154774 #744215
analogous
#157472 #154774 #151874
triadic
#154774 #741547 #477415
tetradic
#154774 #721574 #744215 #187415
square
#154774 #721574 #744215 #187415
split-complementary
#154774 #741518 #747215
monochromatic
#05101A #0C2740 #154774 #1E67A8 #2B86D9

Accessibility & contrast

On white

9.61
#154774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#154774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154774
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154774#FFFFFF#000000##FFFFFF
##1547741.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #154774;
/* rgb */ color: rgb(21, 71, 116);
/* oklch */ color: oklch(38.9% 0.093 249.7);
Tailwind
colors: {
  custom: {
    50: '#63799c',
    500: '#154774',
    950: '#000000',
  },
}
SCSS
$custom: #154774;
$custom-light: #63799c;
$custom-dark: #000000;
JSON
{
  "hex": "#154774",
  "rgb": {
    "r": 21,
    "g": 71,
    "b": 116
  },
  "hsl": {
    "h": 208.421,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.09264,
    "h": 249.7
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#154774
secondary
#AA6F3B
accent
#8F3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154774

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

Preview Lab → · Contrast checker → · Palette generator →

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