#124F7F#124F7F

#124F7F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.100 H 247.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#124F7F
RGBrgb(18, 79, 127)
HSLhsl(206, 75%, 28%)
HSVhsv(206, 86%, 50%)
CMYKcmyk(85.8%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.37, -0.18, -32.36)
CIE-LCHlch(32.37, 32.36, 269.68°)
OKLaboklab(41.61% -0.038 -0.0923)
OKLCHoklch(41.61% 0.1 247.6)
XYZxyz(6.8747, 7.2520, 21.1120)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F7F #7F4212
analogous
#127F78 #124F7F #12187F
triadic
#124F7F #7F124F #4F7F12
tetradic
#124F7F #78127F #7F4212 #187F12
square
#124F7F #78127F #7F4212 #187F12
split-complementary
#124F7F #7F1218 #7F7812
monochromatic
#04111B #0A2E49 #124F7F #1A70B5 #2B91E1

Accessibility & contrast

On white

8.57
#124F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#124F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F7F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F7F#FFFFFF#000000##FFFFFF
##124F7F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#28487E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #124f7f;
/* rgb */ color: rgb(18, 79, 127);
/* oklch */ color: oklch(41.6% 0.100 247.6);
Tailwind
colors: {
  custom: {
    50: '#6580a4',
    500: '#124f7f',
    950: '#000000',
  },
}
SCSS
$custom: #124f7f;
$custom-light: #6580a4;
$custom-dark: #000000;
JSON
{
  "hex": "#124f7f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 206.422,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41607,
    "c": 0.09979,
    "h": 247.6
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#124F7F
secondary
#B56F38
accent
#8936F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #124F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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