#154261#154261

#154261 is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.4% C 0.072 H 242.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#154261
RGBrgb(21, 66, 97)
HSLhsl(204, 64%, 23%)
HSVhsv(204, 78%, 38%)
CMYKcmyk(78.4%, 32%, 0%, 62%)
CIE-LABlab(26.50, -3.47, -22.67)
CIE-LCHlch(26.50, 22.94, 261.30°)
OKLaboklab(36.45% -0.0331 -0.0642)
OKLCHoklch(36.45% 0.072 242.7)
XYZxyz(4.4143, 4.9184, 12.0236)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154261 #613415
analogous
#15615A #154261 #151C61
triadic
#154261 #611542 #426115
tetradic
#154261 #5A1561 #613415 #1C6115
square
#154261 #5A1561 #613415 #1C6115
split-complementary
#154261 #61151C #615A15
monochromatic
#051119 #0A202F #154261 #206493 #2B86C6

Accessibility & contrast

On white

10.59
#154261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#154261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154261
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154261#FFFFFF#000000##FFFFFF
##1542611.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344362
Deuteranopia (green-blind)
#293B60
Tritanopia (blue-blind)
#004A4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #154261;
/* rgb */ color: rgb(21, 66, 97);
/* oklch */ color: oklch(36.4% 0.072 242.7);
Tailwind
colors: {
  custom: {
    50: '#5e768e',
    500: '#154261',
    950: '#000000',
  },
}
SCSS
$custom: #154261;
$custom-light: #5e768e;
$custom-dark: #000000;
JSON
{
  "hex": "#154261",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 97
  },
  "hsl": {
    "h": 204.474,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.07217,
    "h": 242.7
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#154261
secondary
#98603A
accent
#8540E7
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #154261

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

Preview Lab → · Contrast checker → · Palette generator →

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