#154B7B#154B7B

#154B7B is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.098 H 249.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#154B7B
RGBrgb(21, 75, 123)
HSLhsl(208, 71%, 28%)
HSVhsv(208, 83%, 48%)
CMYKcmyk(82.9%, 39%, 0%, 51.8%)
CIE-LABlab(30.93, 1.13, -32.16)
CIE-LCHlch(30.93, 32.18, 272.01°)
OKLaboklab(40.42% -0.034 -0.0917)
OKLCHoklch(40.42% 0.098 249.7)
XYZxyz(6.3991, 6.6209, 19.6757)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B7B #7B4515
analogous
#157B78 #154B7B #15187B
triadic
#154B7B #7B154B #4B7B15
tetradic
#154B7B #78157B #7B4515 #187B15
square
#154B7B #78157B #7B4515 #187B15
split-complementary
#154B7B #7B1518 #7B7815
monochromatic
#04101A #0C2B47 #154B7B #1E6BAF #2F8ADB

Accessibility & contrast

On white

9.03
#154B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#154B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B7B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B7B#FFFFFF#000000##FFFFFF
##154B7B1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154b7b;
/* rgb */ color: rgb(21, 75, 123);
/* oklch */ color: oklch(40.4% 0.098 249.7);
Tailwind
colors: {
  custom: {
    50: '#647ca1',
    500: '#154b7b',
    950: '#000000',
  },
}
SCSS
$custom: #154b7b;
$custom-light: #647ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#154b7b",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 123
  },
  "hsl": {
    "h": 208.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.09784,
    "h": 249.7
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#154B7B
secondary
#B0723B
accent
#8F3AEE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090F
muted
#7A7B7E

Preview Lab

Preview with #154B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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