#154975#154975

#154975 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.092 H 248.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#154975
RGBrgb(21, 73, 117)
HSLhsl(208, 70%, 27%)
HSVhsv(208, 82%, 46%)
CMYKcmyk(82.1%, 37.6%, 0%, 54.1%)
CIE-LABlab(29.93, 0.01, -29.99)
CIE-LCHlch(29.93, 29.99, 270.02°)
OKLaboklab(39.52% -0.0338 -0.0854)
OKLCHoklch(39.52% 0.092 248.4)
XYZxyz(5.9015, 6.2082, 17.7134)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154975 #754115
analogous
#157571 #154975 #151975
triadic
#154975 #751549 #497515
tetradic
#154975 #711575 #754115 #197515
square
#154975 #711575 #754115 #197515
split-complementary
#154975 #751519 #757115
monochromatic
#05101A #0C2941 #154975 #1E69A9 #2B89D9

Accessibility & contrast

On white

9.37
#154975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#154975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154975
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154975#FFFFFF#000000##FFFFFF
##1549751.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B77
Deuteranopia (green-blind)
#264374
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #154975;
/* rgb */ color: rgb(21, 73, 117);
/* oklch */ color: oklch(39.5% 0.092 248.4);
Tailwind
colors: {
  custom: {
    50: '#637b9d',
    500: '#154975',
    950: '#000000',
  },
}
SCSS
$custom: #154975;
$custom-light: #637b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#154975",
  "rgb": {
    "r": 21,
    "g": 73,
    "b": 117
  },
  "hsl": {
    "h": 207.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3952,
    "c": 0.09185,
    "h": 248.4
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#154975
secondary
#AB6E3B
accent
#8D3BEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #154975

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

Preview Lab → · Contrast checker → · Palette generator →

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