#124774#124774

#124774 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.094 H 248.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#124774
RGBrgb(18, 71, 116)
HSLhsl(208, 73%, 26%)
HSVhsv(208, 84%, 45%)
CMYKcmyk(84.5%, 38.8%, 0%, 54.5%)
CIE-LABlab(29.15, 0.58, -30.61)
CIE-LCHlch(29.15, 30.61, 271.09°)
OKLaboklab(38.86% -0.0337 -0.0873)
OKLCHoklch(38.86% 0.094 248.9)
XYZxyz(5.6539, 5.8953, 17.3595)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124774 #743F12
analogous
#127470 #124774 #121674
triadic
#124774 #741247 #477412
tetradic
#124774 #701274 #743F12 #167412
square
#124774 #701274 #743F12 #167412
split-complementary
#124774 #741216 #747012
monochromatic
#04101A #0A273F #124774 #1A67A9 #2388DD

Accessibility & contrast

On white

9.64
#124774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124774
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124774#FFFFFF#000000##FFFFFF
##1247741.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124774;
/* rgb */ color: rgb(18, 71, 116);
/* oklch */ color: oklch(38.9% 0.094 248.9);
Tailwind
colors: {
  custom: {
    50: '#62799c',
    500: '#124774',
    950: '#000000',
  },
}
SCSS
$custom: #124774;
$custom-light: #62799c;
$custom-dark: #000000;
JSON
{
  "hex": "#124774",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 116
  },
  "hsl": {
    "h": 207.551,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.09359,
    "h": 248.9
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#124774
secondary
#AB6C37
accent
#8C38F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124774

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

Preview Lab → · Contrast checker → · Palette generator →

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