#154272#154272

#154272 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.096 H 253.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#154272
RGBrgb(21, 66, 114)
HSLhsl(211, 69%, 26%)
HSVhsv(211, 82%, 45%)
CMYKcmyk(81.6%, 42.1%, 0%, 55.3%)
CIE-LABlab(27.49, 3.48, -31.98)
CIE-LCHlch(27.49, 32.17, 276.22°)
OKLaboklab(37.55% -0.0279 -0.0914)
OKLCHoklch(37.55% 0.096 253)
XYZxyz(5.2936, 5.2701, 16.6546)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154272 #724515
analogous
#157172 #154272 #171572
triadic
#154272 #721542 #427215
tetradic
#154272 #721571 #724515 #157217
square
#154272 #721571 #724515 #157217
split-complementary
#154272 #721715 #717215
monochromatic
#050F1A #0B243E #154272 #1F60A6 #2A7ED8

Accessibility & contrast

On white

10.22
#154272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#154272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154272
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154272#FFFFFF#000000##FFFFFF
##1542721.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#1B3D71
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154272;
/* rgb */ color: rgb(21, 66, 114);
/* oklch */ color: oklch(37.5% 0.096 253.0);
Tailwind
colors: {
  custom: {
    50: '#62759b',
    500: '#154272',
    950: '#000000',
  },
}
SCSS
$custom: #154272;
$custom-light: #62759b;
$custom-dark: #000000;
JSON
{
  "hex": "#154272",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 210.968,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3755,
    "c": 0.09552,
    "h": 253
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#154272
secondary
#A8733B
accent
#973CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154272

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

Preview Lab → · Contrast checker → · Palette generator →

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