#124A5E#124A5E

#124A5E is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.4% C 0.065 H 226.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#124A5E
RGBrgb(18, 74, 94)
HSLhsl(196, 68%, 22%)
HSVhsv(196, 81%, 37%)
CMYKcmyk(80.9%, 21.3%, 0%, 63.1%)
CIE-LABlab(28.99, -10.16, -16.88)
CIE-LCHlch(28.99, 19.70, 238.94°)
OKLaboklab(38.36% -0.0447 -0.0473)
OKLCHoklch(38.36% 0.065 226.6)
XYZxyz(4.7178, 5.8337, 11.4649)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A5E #5E2612
analogous
#125E4C #124A5E #12245E
triadic
#124A5E #5E124A #4A5E12
tetradic
#124A5E #4C125E #5E2612 #245E12
square
#124A5E #4C125E #5E2612 #245E12
split-complementary
#124A5E #5E1224 #5E4C12
monochromatic
#05141A #08222B #124A5E #1C7291 #269BC5

Accessibility & contrast

On white

9.69
#124A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A5E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A5E#FFFFFF#000000##FFFFFF
##124A5E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485F
Deuteranopia (green-blind)
#35415E
Tritanopia (blue-blind)
#005051
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124a5e;
/* rgb */ color: rgb(18, 74, 94);
/* oklch */ color: oklch(38.4% 0.065 226.6);
Tailwind
colors: {
  custom: {
    50: '#5d7c8b',
    500: '#124a5e',
    950: '#000000',
  },
}
SCSS
$custom: #124a5e;
$custom-light: #5d7c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#124a5e",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 94
  },
  "hsl": {
    "h": 195.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.38356,
    "c": 0.0651,
    "h": 226.6
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#124A5E
secondary
#964F35
accent
#6B3DEB
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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