#124F8F#124F8F

#124F8F is a dark, vivid cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.121 H 253.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#124F8F
RGBrgb(18, 79, 143)
HSLhsl(211, 78%, 32%)
HSVhsv(211, 87%, 56%)
CMYKcmyk(87.4%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.36, 6.40, -40.63)
CIE-LCHlch(33.36, 41.13, 278.95°)
OKLaboklab(42.69% -0.0339 -0.1165)
OKLCHoklch(42.69% 0.121 253.8)
XYZxyz(8.0015, 7.7027, 27.0463)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F8F #8F5212
analogous
#128E8F #124F8F #14128F
triadic
#124F8F #8F124F #4F8F12
tetradic
#124F8F #8F128E #8F5212 #128F14
square
#124F8F #8F128E #8F5212 #128F14
split-complementary
#124F8F #8F1412 #8E8F12
monochromatic
#041322 #0B3159 #124F8F #196DC5 #368CE6

Accessibility & contrast

On white

8.27
#124F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#124F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F8F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F8F#FFFFFF#000000##FFFFFF
##124F8F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#14498E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #124f8f;
/* rgb */ color: rgb(18, 79, 143);
/* oklch */ color: oklch(42.7% 0.121 253.8);
Tailwind
colors: {
  custom: {
    50: '#687fb0',
    500: '#124f8f',
    950: '#000000',
  },
}
SCSS
$custom: #124f8f;
$custom-light: #687fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#124f8f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 210.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.12138,
    "h": 253.8
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#124F8F
secondary
#C3803A
accent
#9634F4
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #124F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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