#124780#124780

#124780 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.110 H 253.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#124780
RGBrgb(18, 71, 128)
HSLhsl(211, 75%, 29%)
HSVhsv(211, 86%, 50%)
CMYKcmyk(85.9%, 44.5%, 0%, 49.8%)
CIE-LABlab(29.89, 5.57, -36.93)
CIE-LCHlch(29.89, 37.35, 278.58°)
OKLaboklab(39.69% -0.0306 -0.1058)
OKLCHoklch(39.69% 0.11 253.9)
XYZxyz(6.3975, 6.1928, 21.2760)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124780 #804B12
analogous
#127E80 #124780 #141280
triadic
#124780 #801247 #478012
tetradic
#124780 #80127E #804B12 #128014
square
#124780 #80127E #804B12 #128014
split-complementary
#124780 #801412 #7E8012
monochromatic
#040F1B #0A294A #124780 #1A65B6 #2B83E1

Accessibility & contrast

On white

9.38
#124780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#124780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124780
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124780#FFFFFF#000000##FFFFFF
##1247801.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#14427F
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124780;
/* rgb */ color: rgb(18, 71, 128);
/* oklch */ color: oklch(39.7% 0.110 253.9);
Tailwind
colors: {
  custom: {
    50: '#6579a5',
    500: '#124780',
    950: '#000000',
  },
}
SCSS
$custom: #124780;
$custom-light: #6579a5;
$custom-dark: #000000;
JSON
{
  "hex": "#124780",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 211.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.1102,
    "h": 253.9
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#124780
secondary
#B67938
accent
#9736F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #124780

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

Preview Lab → · Contrast checker → · Palette generator →

#124780 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva