#124C7F#124C7F

#124C7F is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.103 H 250.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#124C7F
RGBrgb(18, 76, 127)
HSLhsl(208, 75%, 28%)
HSVhsv(208, 86%, 50%)
CMYKcmyk(85.8%, 40.2%, 0%, 50.2%)
CIE-LABlab(31.41, 1.79, -33.88)
CIE-LCHlch(31.41, 33.93, 273.03°)
OKLaboklab(40.85% -0.0353 -0.0968)
OKLCHoklch(40.85% 0.103 250)
XYZxyz(6.6632, 6.8290, 21.0415)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C7F #7F4512
analogous
#127F7B #124C7F #12167F
triadic
#124C7F #7F124C #4C7F12
tetradic
#124C7F #7B127F #7F4512 #167F12
square
#124C7F #7B127F #7F4512 #167F12
split-complementary
#124C7F #7F1216 #7F7B12
monochromatic
#04101B #0A2C49 #124C7F #1A6CB5 #2B8CE1

Accessibility & contrast

On white

8.88
#124C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#124C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C7F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C7F#FFFFFF#000000##FFFFFF
##124C7F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F81
Deuteranopia (green-blind)
#22457E
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #124c7f;
/* rgb */ color: rgb(18, 76, 127);
/* oklch */ color: oklch(40.9% 0.103 250.0);
Tailwind
colors: {
  custom: {
    50: '#647da4',
    500: '#124c7f',
    950: '#000000',
  },
}
SCSS
$custom: #124c7f;
$custom-light: #647da4;
$custom-dark: #000000;
JSON
{
  "hex": "#124c7f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 127
  },
  "hsl": {
    "h": 208.073,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.10303,
    "h": 250
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#124C7F
secondary
#B57238
accent
#8E36F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #124C7F

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

Preview Lab → · Contrast checker → · Palette generator →

#124C7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva