#124C5E#124C5E

#124C5E is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 38.9% C 0.065 H 223.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#124C5E
RGBrgb(18, 76, 94)
HSLhsl(194, 68%, 22%)
HSVhsv(194, 81%, 37%)
CMYKcmyk(80.9%, 19.1%, 0%, 63.1%)
CIE-LABlab(29.68, -11.38, -15.81)
CIE-LCHlch(29.68, 19.48, 234.26°)
OKLaboklab(38.91% -0.0469 -0.0443)
OKLCHoklch(38.91% 0.065 223.4)
XYZxyz(4.8534, 6.1051, 11.5101)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C5E #5E2412
analogous
#125E4A #124C5E #12265E
triadic
#124C5E #5E124C #4C5E12
tetradic
#124C5E #4A125E #5E2412 #265E12
square
#124C5E #4A125E #5E2412 #265E12
split-complementary
#124C5E #5E1226 #5E4A12
monochromatic
#05151A #08222B #124C5E #1C7691 #269FC5

Accessibility & contrast

On white

9.45
#124C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#124C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C5E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C5E#FFFFFF#000000##FFFFFF
##124C5E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5F
Deuteranopia (green-blind)
#38435E
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124c5e;
/* rgb */ color: rgb(18, 76, 94);
/* oklch */ color: oklch(38.9% 0.065 223.4);
Tailwind
colors: {
  custom: {
    50: '#5d7e8b',
    500: '#124c5e',
    950: '#000000',
  },
}
SCSS
$custom: #124c5e;
$custom-light: #5d7e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#124c5e",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 94
  },
  "hsl": {
    "h": 194.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.06451,
    "h": 223.4
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#124C5E
secondary
#964C35
accent
#663DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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