#124E74#124E74

#124E74 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.7% C 0.087 H 242.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#124E74
RGBrgb(18, 78, 116)
HSLhsl(203, 73%, 26%)
HSVhsv(203, 84%, 45%)
CMYKcmyk(84.5%, 32.8%, 0%, 54.5%)
CIE-LABlab(31.43, -4.00, -26.99)
CIE-LCHlch(31.43, 27.29, 261.57°)
OKLaboklab(40.67% -0.0405 -0.0766)
OKLCHoklch(40.67% 0.087 242.1)
XYZxyz(6.1250, 6.8376, 17.5166)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E74 #743812
analogous
#127469 #124E74 #121D74
triadic
#124E74 #74124E #4E7412
tetradic
#124E74 #691274 #743812 #1D7412
square
#124E74 #691274 #743812 #1D7412
split-complementary
#124E74 #74121D #746912
monochromatic
#04121A #0A2A3F #124E74 #1A72A9 #2395DD

Accessibility & contrast

On white

8.87
#124E74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E74
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E74#FFFFFF#000000##FFFFFF
##124E741.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F76
Deuteranopia (green-blind)
#2F4673
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #124e74;
/* rgb */ color: rgb(18, 78, 116);
/* oklch */ color: oklch(40.7% 0.087 242.1);
Tailwind
colors: {
  custom: {
    50: '#627f9c',
    500: '#124e74',
    950: '#000000',
  },
}
SCSS
$custom: #124e74;
$custom-light: #627f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#124e74",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 116
  },
  "hsl": {
    "h": 203.265,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40665,
    "c": 0.08665,
    "h": 242.1
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#124E74
secondary
#AB6437
accent
#7F38F0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #124E74

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

Preview Lab → · Contrast checker → · Palette generator →

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