#124A5A#124A5A

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

Color values

HEX#124A5A
RGBrgb(18, 74, 90)
HSLhsl(193, 67%, 21%)
HSVhsv(193, 80%, 35%)
CMYKcmyk(80%, 17.8%, 0%, 64.7%)
CIE-LABlab(28.81, -11.69, -14.59)
CIE-LCHlch(28.81, 18.69, 231.30°)
OKLaboklab(38.15% -0.0464 -0.0408)
OKLCHoklch(38.15% 0.062 221.3)
XYZxyz(4.5429, 5.7638, 10.5440)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A5A #5A2212
analogous
#125A46 #124A5A #12265A
triadic
#124A5A #5A124A #4A5A12
tetradic
#124A5A #46125A #5A2212 #265A12
square
#124A5A #46125A #5A2212 #265A12
split-complementary
#124A5A #5A1226 #5A4612
monochromatic
#05151A #082027 #124A5A #1C748D #269EC0

Accessibility & contrast

On white

9.75
#124A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A5A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A5A#FFFFFF#000000##FFFFFF
##124A5A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124a5a;
/* rgb */ color: rgb(18, 74, 90);
/* oklch */ color: oklch(38.2% 0.062 221.3);
Tailwind
colors: {
  custom: {
    50: '#5d7c88',
    500: '#124a5a',
    950: '#000000',
  },
}
SCSS
$custom: #124a5a;
$custom-light: #5d7c88;
$custom-dark: #000000;
JSON
{
  "hex": "#124a5a",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 90
  },
  "hsl": {
    "h": 193.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.06181,
    "h": 221.3
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#124A5A
secondary
#934A35
accent
#643EEA
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#05090B
muted
#797B7C

Preview Lab

Preview with #124A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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