#154074#154074

#154074 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.2% C 0.101 H 255.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#154074
RGBrgb(21, 64, 116)
HSLhsl(213, 69%, 27%)
HSVhsv(213, 82%, 45%)
CMYKcmyk(81.9%, 44.8%, 0%, 54.5%)
CIE-LABlab(26.98, 5.69, -34.06)
CIE-LCHlch(26.98, 34.53, 279.49°)
OKLaboklab(37.19% -0.0255 -0.0975)
OKLCHoklch(37.19% 0.101 255.3)
XYZxyz(5.2939, 5.0865, 17.2224)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154074 #744915
analogous
#157074 #154074 #1A1574
triadic
#154074 #741540 #407415
tetradic
#154074 #741570 #744915 #15741A
square
#154074 #741570 #744915 #15741A
split-complementary
#154074 #741A15 #707415
monochromatic
#050E1A #0C2340 #154074 #1E5DA8 #2B79D9

Accessibility & contrast

On white

10.41
#154074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#154074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154074
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154074#FFFFFF#000000##FFFFFF
##1540741.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264476
Deuteranopia (green-blind)
#143C73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #154074;
/* rgb */ color: rgb(21, 64, 116);
/* oklch */ color: oklch(37.2% 0.101 255.3);
Tailwind
colors: {
  custom: {
    50: '#63749c',
    500: '#154074',
    950: '#000000',
  },
}
SCSS
$custom: #154074;
$custom-light: #63749c;
$custom-dark: #000000;
JSON
{
  "hex": "#154074",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 212.842,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37194,
    "c": 0.10081,
    "h": 255.3
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#154074
secondary
#AA783B
accent
#9C3CEC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #154074

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

Preview Lab → · Contrast checker → · Palette generator →

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