#154B7C#154B7C

#154B7C is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.099 H 250.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#154B7C
RGBrgb(21, 75, 124)
HSLhsl(209, 71%, 28%)
HSVhsv(209, 83%, 49%)
CMYKcmyk(83.1%, 39.5%, 0%, 51.4%)
CIE-LABlab(30.99, 1.54, -32.69)
CIE-LCHlch(30.99, 32.73, 272.70°)
OKLaboklab(40.48% -0.0337 -0.0933)
OKLCHoklch(40.48% 0.099 250.1)
XYZxyz(6.4620, 6.6460, 20.0071)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154B7C #7C4615
analogous
#157C79 #154B7C #15177C
triadic
#154B7C #7C154B #4B7C15
tetradic
#154B7C #79157C #7C4615 #177C15
square
#154B7C #79157C #7C4615 #177C15
split-complementary
#154B7C #7C1517 #7C7915
monochromatic
#04101A #0C2B48 #154B7C #1E6BB0 #308ADC

Accessibility & contrast

On white

9.02
#154B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#154B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154B7C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154B7C#FFFFFF#000000##FFFFFF
##154B7C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7E
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #154b7c;
/* rgb */ color: rgb(21, 75, 124);
/* oklch */ color: oklch(40.5% 0.099 250.1);
Tailwind
colors: {
  custom: {
    50: '#657ca2',
    500: '#154b7c',
    950: '#000000',
  },
}
SCSS
$custom: #154b7c;
$custom-light: #657ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#154b7c",
  "rgb": {
    "r": 21,
    "g": 75,
    "b": 124
  },
  "hsl": {
    "h": 208.544,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40482,
    "c": 0.0992,
    "h": 250.1
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#154B7C
secondary
#B1743C
accent
#903AEE
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #154B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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