#154B7E#154B7E

#154B7E is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.102 H 251.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#154B7E
RGBrgb(21, 75, 126)
HSLhsl(209, 71%, 29%)
HSVhsv(209, 83%, 49%)
CMYKcmyk(83.3%, 40.5%, 0%, 50.6%)
CIE-LABlab(31.11, 2.36, -33.74)
CIE-LCHlch(31.11, 33.83, 274.00°)
OKLaboklab(40.62% -0.0332 -0.0964)
OKLCHoklch(40.62% 0.102 251)
XYZxyz(6.5898, 6.6971, 20.6800)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B7E #7E4815
analogous
#157E7D #154B7E #15167E
triadic
#154B7E #7E154B #4B7E15
tetradic
#154B7E #7D157E #7E4815 #167E15
square
#154B7E #7D157E #7E4815 #167E15
split-complementary
#154B7E #7E1516 #7E7D15
monochromatic
#04101A #0C2C4A #154B7E #1E6AB2 #3189DD

Accessibility & contrast

On white

8.98
#154B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#154B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B7E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B7E#FFFFFF#000000##FFFFFF
##154B7E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154b7e;
/* rgb */ color: rgb(21, 75, 126);
/* oklch */ color: oklch(40.6% 0.102 251.0);
Tailwind
colors: {
  custom: {
    50: '#657ca4',
    500: '#154b7e',
    950: '#000000',
  },
}
SCSS
$custom: #154b7e;
$custom-light: #657ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#154b7e",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 126
  },
  "hsl": {
    "h": 209.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.10193,
    "h": 251
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#154B7E
secondary
#B3763C
accent
#913AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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