#124A5C#124A5C

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

Color values

HEX#124A5C
RGBrgb(18, 74, 92)
HSLhsl(195, 67%, 22%)
HSVhsv(195, 80%, 36%)
CMYKcmyk(80.4%, 19.6%, 0%, 63.9%)
CIE-LABlab(28.90, -10.93, -15.73)
CIE-LCHlch(28.90, 19.16, 235.22°)
OKLaboklab(38.25% -0.0455 -0.0441)
OKLCHoklch(38.25% 0.063 224.1)
XYZxyz(4.6292, 5.7983, 10.9983)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A5C #5C2412
analogous
#125C49 #124A5C #12255C
triadic
#124A5C #5C124A #4A5C12
tetradic
#124A5C #49125C #5C2412 #255C12
square
#124A5C #49125C #5C2412 #255C12
split-complementary
#124A5C #5C1225 #5C4912
monochromatic
#05151A #082129 #124A5C #1C738F #269CC2

Accessibility & contrast

On white

9.72
#124A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124A5C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A5C#FFFFFF#000000##FFFFFF
##124A5C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124a5c;
/* rgb */ color: rgb(18, 74, 92);
/* oklch */ color: oklch(38.3% 0.063 224.1);
Tailwind
colors: {
  custom: {
    50: '#5d7c8a',
    500: '#124a5c',
    950: '#000000',
  },
}
SCSS
$custom: #124a5c;
$custom-light: #5d7c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#124a5c",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 92
  },
  "hsl": {
    "h": 194.595,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.06338,
    "h": 224.1
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#124A5C
secondary
#944D35
accent
#683EEA
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090B
muted
#797B7C

Preview Lab

Preview with #124A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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