#154F8D#154F8D

#154F8D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.118 H 253.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#154F8D
RGBrgb(21, 79, 141)
HSLhsl(211, 74%, 32%)
HSVhsv(211, 85%, 55%)
CMYKcmyk(85.1%, 44%, 0%, 44.7%)
CIE-LABlab(33.29, 5.84, -39.50)
CIE-LCHlch(33.29, 39.93, 278.41°)
OKLaboklab(42.62% -0.033 -0.1132)
OKLCHoklch(42.62% 0.118 253.7)
XYZxyz(7.9112, 7.6735, 26.2583)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F8D #8D5315
analogous
#158B8D #154F8D #17158D
triadic
#154F8D #8D154F #4F8D15
tetradic
#154F8D #8D158B #8D5315 #158D17
square
#154F8D #8D158B #8D5315 #158D17
split-complementary
#154F8D #8D1715 #8B8D15
monochromatic
#051322 #0D3158 #154F8D #1D6DC2 #3B8BE2

Accessibility & contrast

On white

8.28
#154F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#154F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F8D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F8D#FFFFFF#000000##FFFFFF
##154F8D1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #154f8d;
/* rgb */ color: rgb(21, 79, 141);
/* oklch */ color: oklch(42.6% 0.118 253.7);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#154f8d',
    950: '#000000',
  },
}
SCSS
$custom: #154f8d;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#154f8d",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 211,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.11793,
    "h": 253.7
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#154F8D
secondary
#C1813D
accent
#9737F1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #154F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#154F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva