#154B8C#154B8C

#154B8C is a dark, vivid cyan. Relative luminance 0.071; OKLCH L 41.6% C 0.121 H 255.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#154B8C
RGBrgb(21, 75, 140)
HSLhsl(213, 74%, 32%)
HSVhsv(213, 85%, 55%)
CMYKcmyk(85%, 46.4%, 0%, 45.1%)
CIE-LABlab(32.00, 8.12, -40.97)
CIE-LCHlch(32.00, 41.76, 281.21°)
OKLaboklab(41.6% -0.0299 -0.1176)
OKLCHoklch(41.6% 0.121 255.7)
XYZxyz(7.5572, 7.0841, 25.7749)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B8C #8C5615
analogous
#15878C #154B8C #1B158C
triadic
#154B8C #8C154B #4B8C15
tetradic
#154B8C #8C1587 #8C5615 #158C1B
square
#154B8C #8C1587 #8C5615 #158C1B
split-complementary
#154B8C #8C1B15 #878C15
monochromatic
#051222 #0D2E57 #154B8C #1D68C1 #3A86E1

Accessibility & contrast

On white

8.69
#154B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#154B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B8C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B8C#FFFFFF#000000##FFFFFF
##154B8C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#0C468B
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #154b8c;
/* rgb */ color: rgb(21, 75, 140);
/* oklch */ color: oklch(41.6% 0.121 255.7);
Tailwind
colors: {
  custom: {
    50: '#687cae',
    500: '#154b8c',
    950: '#000000',
  },
}
SCSS
$custom: #154b8c;
$custom-light: #687cae;
$custom-dark: #000000;
JSON
{
  "hex": "#154b8c",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 140
  },
  "hsl": {
    "h": 212.773,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.12134,
    "h": 255.7
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#154B8C
secondary
#C0843D
accent
#9C37F1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #154B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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