#124971#124971

#124971 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.2% C 0.088 H 245.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#124971
RGBrgb(18, 73, 113)
HSLhsl(205, 73%, 26%)
HSVhsv(205, 84%, 44%)
CMYKcmyk(84.1%, 35.4%, 0%, 55.7%)
CIE-LABlab(29.63, -1.97, -27.96)
CIE-LCHlch(29.63, 28.03, 265.96°)
OKLaboklab(39.18% -0.0366 -0.0795)
OKLCHoklch(39.18% 0.088 245.3)
XYZxyz(5.6115, 6.0853, 16.4984)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124971 #713A12
analogous
#127169 #124971 #121A71
triadic
#124971 #711249 #497112
tetradic
#124971 #691271 #713A12 #1A7112
square
#124971 #691271 #713A12 #1A7112
split-complementary
#124971 #71121A #716912
monochromatic
#04111A #0A273C #124971 #1A6BA6 #238DDB

Accessibility & contrast

On white

9.47
#124971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#124971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124971
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124971#FFFFFF#000000##FFFFFF
##1249711.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#005357
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124971;
/* rgb */ color: rgb(18, 73, 113);
/* oklch */ color: oklch(39.2% 0.088 245.3);
Tailwind
colors: {
  custom: {
    50: '#617b9a',
    500: '#124971',
    950: '#000000',
  },
}
SCSS
$custom: #124971;
$custom-light: #617b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#124971",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 205.263,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39183,
    "c": 0.08751,
    "h": 245.3
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#124971
secondary
#A86637
accent
#8539EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124971

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

Preview Lab → · Contrast checker → · Palette generator →

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