#154072#154072

#154072 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 37.1% C 0.098 H 254.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#154072
RGBrgb(21, 64, 114)
HSLhsl(212, 69%, 26%)
HSVhsv(212, 82%, 45%)
CMYKcmyk(81.6%, 43.9%, 0%, 55.3%)
CIE-LABlab(26.85, 4.86, -33.00)
CIE-LCHlch(26.85, 33.35, 278.37°)
OKLaboklab(37.05% -0.026 -0.0944)
OKLCHoklch(37.05% 0.098 254.6)
XYZxyz(5.1788, 5.0405, 16.6163)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154072 #724715
analogous
#156F72 #154072 #191572
triadic
#154072 #721540 #407215
tetradic
#154072 #72156F #724715 #157219
square
#154072 #72156F #724715 #157219
split-complementary
#154072 #721915 #6F7215
monochromatic
#050F1A #0B233E #154072 #1F5DA6 #2A7AD8

Accessibility & contrast

On white

10.46
#154072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#154072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154072
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154072#FFFFFF#000000##FFFFFF
##1540721.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#173C71
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #154072;
/* rgb */ color: rgb(21, 64, 114);
/* oklch */ color: oklch(37.1% 0.098 254.6);
Tailwind
colors: {
  custom: {
    50: '#62749b',
    500: '#154072',
    950: '#000000',
  },
}
SCSS
$custom: #154072;
$custom-light: #62749b;
$custom-dark: #000000;
JSON
{
  "hex": "#154072",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 212.258,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37051,
    "c": 0.09792,
    "h": 254.6
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#154072
secondary
#A8763B
accent
#9B3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154072

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

Preview Lab → · Contrast checker → · Palette generator →

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