#124C5F#124C5F

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

Color values

HEX#124C5F
RGBrgb(18, 76, 95)
HSLhsl(195, 68%, 22%)
HSVhsv(195, 81%, 37%)
CMYKcmyk(81.1%, 20%, 0%, 62.7%)
CIE-LABlab(29.72, -11.00, -16.38)
CIE-LCHlch(29.72, 19.73, 236.12°)
OKLaboklab(38.96% -0.0465 -0.0459)
OKLCHoklch(38.96% 0.065 224.7)
XYZxyz(4.8986, 6.1231, 11.7480)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C5F #5F2512
analogous
#125F4C #124C5F #12265F
triadic
#124C5F #5F124C #4C5F12
tetradic
#124C5F #4C125F #5F2512 #265F12
square
#124C5F #4C125F #5F2512 #265F12
split-complementary
#124C5F #5F1226 #5F4C12
monochromatic
#05151A #08232C #124C5F #1C7592 #259EC6

Accessibility & contrast

On white

9.44
#124C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C5F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C5F#FFFFFF#000000##FFFFFF
##124C5F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#37435F
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124c5f;
/* rgb */ color: rgb(18, 76, 95);
/* oklch */ color: oklch(39.0% 0.065 224.7);
Tailwind
colors: {
  custom: {
    50: '#5e7e8c',
    500: '#124c5f',
    950: '#000000',
  },
}
SCSS
$custom: #124c5f;
$custom-light: #5e7e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#124c5f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 95
  },
  "hsl": {
    "h": 194.805,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.38958,
    "c": 0.06533,
    "h": 224.7
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#124C5F
secondary
#974E36
accent
#683DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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