#124C8F#124C8F

#124C8F is a dark, vivid cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.125 H 255.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#124C8F
RGBrgb(18, 76, 143)
HSLhsl(212, 78%, 32%)
HSVhsv(212, 87%, 56%)
CMYKcmyk(87.4%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.44, 8.42, -42.10)
CIE-LCHlch(32.44, 42.94, 281.30°)
OKLaboklab(41.98% -0.0315 -0.121)
OKLCHoklch(41.98% 0.125 255.4)
XYZxyz(7.7900, 7.2797, 26.9758)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C8F #8F5512
analogous
#128B8F #124C8F #17128F
triadic
#124C8F #8F124C #4C8F12
tetradic
#124C8F #8F128B #8F5512 #128F17
square
#124C8F #8F128B #8F5512 #128F17
split-complementary
#124C8F #8F1712 #8B8F12
monochromatic
#041222 #0B2F59 #124C8F #1969C5 #3687E6

Accessibility & contrast

On white

8.55
#124C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#124C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C8F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C8F#FFFFFF#000000##FFFFFF
##124C8F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#06478E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #124c8f;
/* rgb */ color: rgb(18, 76, 143);
/* oklch */ color: oklch(42.0% 0.125 255.4);
Tailwind
colors: {
  custom: {
    50: '#697db0',
    500: '#124c8f',
    950: '#000000',
  },
}
SCSS
$custom: #124c8f;
$custom-light: #697db0;
$custom-dark: #000000;
JSON
{
  "hex": "#124c8f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 212.16,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.12501,
    "h": 255.4
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#124C8F
secondary
#C3833A
accent
#9B34F4
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #124C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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