#154273#154273

#154273 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.6% C 0.097 H 253.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#154273
RGBrgb(21, 66, 115)
HSLhsl(211, 69%, 27%)
HSVhsv(211, 82%, 45%)
CMYKcmyk(81.7%, 42.6%, 0%, 54.9%)
CIE-LABlab(27.55, 3.90, -32.51)
CIE-LCHlch(27.55, 32.74, 276.84°)
OKLaboklab(37.62% -0.0276 -0.0929)
OKLCHoklch(37.62% 0.097 253.4)
XYZxyz(5.3508, 5.2930, 16.9560)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154273 #734615
analogous
#157173 #154273 #171573
triadic
#154273 #731542 #427315
tetradic
#154273 #731571 #734615 #157317
square
#154273 #731571 #734615 #157317
split-complementary
#154273 #731715 #717315
monochromatic
#050F1A #0C243F #154273 #1E60A7 #2A7DD8

Accessibility & contrast

On white

10.20
#154273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#154273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154273
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154273#FFFFFF#000000##FFFFFF
##1542731.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#1A3D72
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154273;
/* rgb */ color: rgb(21, 66, 115);
/* oklch */ color: oklch(37.6% 0.097 253.4);
Tailwind
colors: {
  custom: {
    50: '#62759b',
    500: '#154273',
    950: '#000000',
  },
}
SCSS
$custom: #154273;
$custom-light: #62759b;
$custom-dark: #000000;
JSON
{
  "hex": "#154273",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 211.277,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.09695,
    "h": 253.4
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#154273
secondary
#A9743B
accent
#983CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154273

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

Preview Lab → · Contrast checker → · Palette generator →

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