#124974#124974

#124974 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.4% C 0.091 H 247.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#124974
RGBrgb(18, 73, 116)
HSLhsl(206, 73%, 26%)
HSVhsv(206, 84%, 45%)
CMYKcmyk(84.5%, 37.1%, 0%, 54.5%)
CIE-LABlab(29.80, -0.74, -29.58)
CIE-LCHlch(29.80, 29.59, 268.56°)
OKLaboklab(39.37% -0.0357 -0.0842)
OKLCHoklch(39.37% 0.091 247.1)
XYZxyz(5.7832, 6.1539, 17.4026)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124974 #743D12
analogous
#12746E #124974 #121874
triadic
#124974 #741249 #497412
tetradic
#124974 #6E1274 #743D12 #187412
square
#124974 #6E1274 #743D12 #187412
split-complementary
#124974 #741218 #746E12
monochromatic
#04111A #0A283F #124974 #1A6AA9 #238CDD

Accessibility & contrast

On white

9.41
#124974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#124974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124974
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124974#FFFFFF#000000##FFFFFF
##1249741.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B76
Deuteranopia (green-blind)
#264273
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124974;
/* rgb */ color: rgb(18, 73, 116);
/* oklch */ color: oklch(39.4% 0.091 247.1);
Tailwind
colors: {
  custom: {
    50: '#627b9c',
    500: '#124974',
    950: '#000000',
  },
}
SCSS
$custom: #124974;
$custom-light: #627b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#124974",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 206.327,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39373,
    "c": 0.09147,
    "h": 247.1
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#124974
secondary
#AB6A37
accent
#8938F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124974

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

Preview Lab → · Contrast checker → · Palette generator →

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