#154270#154270

#154270 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.4% C 0.093 H 252.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#154270
RGBrgb(21, 66, 112)
HSLhsl(210, 68%, 26%)
HSVhsv(210, 81%, 44%)
CMYKcmyk(81.2%, 41.1%, 0%, 56.1%)
CIE-LABlab(27.37, 2.66, -30.91)
CIE-LCHlch(27.37, 31.02, 274.91°)
OKLaboklab(37.41% -0.0284 -0.0882)
OKLCHoklch(37.41% 0.093 252.1)
XYZxyz(5.1810, 5.2251, 16.0616)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154270 #704315
analogous
#156F70 #154270 #161570
triadic
#154270 #701542 #427015
tetradic
#154270 #70156F #704315 #157016
square
#154270 #70156F #704315 #157016
split-complementary
#154270 #701615 #6F7015
monochromatic
#050F1A #0B243C #154270 #1F60A4 #297FD7

Accessibility & contrast

On white

10.27
#154270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154270
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154270#FFFFFF#000000##FFFFFF
##1542701.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#1E3D6F
Tritanopia (blue-blind)
#004D53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154270;
/* rgb */ color: rgb(21, 66, 112);
/* oklch */ color: oklch(37.4% 0.093 252.1);
Tailwind
colors: {
  custom: {
    50: '#627699',
    500: '#154270',
    950: '#000000',
  },
}
SCSS
$custom: #154270;
$custom-light: #627699;
$custom-dark: #000000;
JSON
{
  "hex": "#154270",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 210.33,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.09268,
    "h": 252.1
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#154270
secondary
#A6713B
accent
#953DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154270

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

Preview Lab → · Contrast checker → · Palette generator →

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