#154274#154274

#154274 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.098 H 253.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#154274
RGBrgb(21, 66, 116)
HSLhsl(212, 69%, 27%)
HSVhsv(212, 82%, 45%)
CMYKcmyk(81.9%, 43.1%, 0%, 54.5%)
CIE-LABlab(27.62, 4.31, -33.04)
CIE-LCHlch(27.62, 33.32, 277.44°)
OKLaboklab(37.69% -0.0274 -0.0945)
OKLCHoklch(37.69% 0.098 253.8)
XYZxyz(5.4087, 5.3162, 17.2607)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154274 #744715
analogous
#157274 #154274 #181574
triadic
#154274 #741542 #427415
tetradic
#154274 #741572 #744715 #157418
square
#154274 #741572 #744715 #157418
split-complementary
#154274 #741815 #727415
monochromatic
#050F1A #0C2540 #154274 #1E5FA8 #2B7DD9

Accessibility & contrast

On white

10.18
#154274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #154274
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154274#FFFFFF#000000##FFFFFF
##1542741.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#193D73
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #154274;
/* rgb */ color: rgb(21, 66, 116);
/* oklch */ color: oklch(37.7% 0.098 253.8);
Tailwind
colors: {
  custom: {
    50: '#63759c',
    500: '#154274',
    950: '#000000',
  },
}
SCSS
$custom: #154274;
$custom-light: #63759c;
$custom-dark: #000000;
JSON
{
  "hex": "#154274",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 211.579,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37689,
    "c": 0.09838,
    "h": 253.8
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

primary
#154274
secondary
#AA753B
accent
#993CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154274

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

Preview Lab → · Contrast checker → · Palette generator →

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