#154F7E#154F7E

#154F7E is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.098 H 247.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#154F7E
RGBrgb(21, 79, 126)
HSLhsl(207, 71%, 29%)
HSVhsv(207, 83%, 49%)
CMYKcmyk(83.3%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.38, -0.28, -31.71)
CIE-LCHlch(32.38, 31.72, 269.49°)
OKLaboklab(41.62% -0.0369 -0.0903)
OKLCHoklch(41.62% 0.098 247.8)
XYZxyz(6.8697, 7.2569, 20.7733)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154F7E #7E4415
analogous
#157E79 #154F7E #151B7E
triadic
#154F7E #7E154F #4F7E15
tetradic
#154F7E #79157E #7E4415 #1B7E15
square
#154F7E #79157E #7E4415 #1B7E15
split-complementary
#154F7E #7E151B #7E7915
monochromatic
#04101A #0C2E4A #154F7E #1E70B2 #3190DD

Accessibility & contrast

On white

8.57
#154F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#154F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154F7E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154F7E#FFFFFF#000000##FFFFFF
##154F7E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395180
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #154f7e;
/* rgb */ color: rgb(21, 79, 126);
/* oklch */ color: oklch(41.6% 0.098 247.8);
Tailwind
colors: {
  custom: {
    50: '#6580a3',
    500: '#154f7e',
    950: '#000000',
  },
}
SCSS
$custom: #154f7e;
$custom-light: #6580a3;
$custom-dark: #000000;
JSON
{
  "hex": "#154f7e",
  "rgb": {
    "r": 21,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 206.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.0976,
    "h": 247.8
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#154F7E
secondary
#B3713C
accent
#8A3AEE
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #154F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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