#154662#154662

#154662 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.6% C 0.070 H 238.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#154662
RGBrgb(21, 70, 98)
HSLhsl(202, 65%, 23%)
HSVhsv(202, 79%, 38%)
CMYKcmyk(78.6%, 28.6%, 0%, 61.6%)
CIE-LABlab(27.90, -5.67, -21.12)
CIE-LCHlch(27.90, 21.87, 254.98°)
OKLaboklab(37.58% -0.0371 -0.0596)
OKLCHoklch(37.58% 0.07 238.1)
XYZxyz(4.7032, 5.4210, 12.3514)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154662 #623115
analogous
#156257 #154662 #151F62
triadic
#154662 #621546 #466215
tetradic
#154662 #571562 #623115 #1F6215
square
#154662 #571562 #623115 #1F6215
split-complementary
#154662 #62151F #625715
monochromatic
#051219 #0A2230 #154662 #206A94 #2B8EC7

Accessibility & contrast

On white

10.07
#154662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#154662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154662
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154662#FFFFFF#000000##FFFFFF
##1546621.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394663
Deuteranopia (green-blind)
#2E3F62
Tritanopia (blue-blind)
#004D50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154662;
/* rgb */ color: rgb(21, 70, 98);
/* oklch */ color: oklch(37.6% 0.070 238.1);
Tailwind
colors: {
  custom: {
    50: '#5f798e',
    500: '#154662',
    950: '#000000',
  },
}
SCSS
$custom: #154662;
$custom-light: #5f798e;
$custom-dark: #000000;
JSON
{
  "hex": "#154662",
  "rgb": {
    "r": 21,
    "g": 70,
    "b": 98
  },
  "hsl": {
    "h": 201.818,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.37577,
    "c": 0.07019,
    "h": 238.1
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#154662
secondary
#995C3A
accent
#7D40E8
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #154662

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

Preview Lab → · Contrast checker → · Palette generator →

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