#124A5B#124A5B

#124A5B is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.2% C 0.063 H 222.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#124A5B
RGBrgb(18, 74, 91)
HSLhsl(194, 67%, 21%)
HSVhsv(194, 80%, 36%)
CMYKcmyk(80.2%, 18.7%, 0%, 64.3%)
CIE-LABlab(28.85, -11.31, -15.16)
CIE-LCHlch(28.85, 18.91, 233.28°)
OKLaboklab(38.2% -0.046 -0.0424)
OKLCHoklch(38.2% 0.063 222.7)
XYZxyz(4.5858, 5.7809, 10.7696)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A5B #5B2312
analogous
#125B48 #124A5B #12265B
triadic
#124A5B #5B124A #4A5B12
tetradic
#124A5B #48125B #5B2312 #265B12
square
#124A5B #48125B #5B2312 #265B12
split-complementary
#124A5B #5B1226 #5B4812
monochromatic
#05151A #082028 #124A5B #1C748E #269DC1

Accessibility & contrast

On white

9.74
#124A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A5B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A5B#FFFFFF#000000##FFFFFF
##124A5B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485C
Deuteranopia (green-blind)
#36415B
Tritanopia (blue-blind)
#004F4F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124a5b;
/* rgb */ color: rgb(18, 74, 91);
/* oklch */ color: oklch(38.2% 0.063 222.7);
Tailwind
colors: {
  custom: {
    50: '#5d7c89',
    500: '#124a5b',
    950: '#000000',
  },
}
SCSS
$custom: #124a5b;
$custom-light: #5d7c89;
$custom-dark: #000000;
JSON
{
  "hex": "#124a5b",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 91
  },
  "hsl": {
    "h": 193.973,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38202,
    "c": 0.06257,
    "h": 222.7
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#124A5B
secondary
#934B35
accent
#663EEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090B
muted
#797B7C

Preview Lab

Preview with #124A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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