#124874#124874

#124874 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.1% C 0.093 H 248.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#124874
RGBrgb(18, 72, 116)
HSLhsl(207, 73%, 26%)
HSVhsv(207, 84%, 45%)
CMYKcmyk(84.5%, 37.9%, 0%, 54.5%)
CIE-LABlab(29.47, -0.08, -30.09)
CIE-LCHlch(29.47, 30.09, 269.84°)
OKLaboklab(39.12% -0.0347 -0.0858)
OKLCHoklch(39.12% 0.093 248)
XYZxyz(5.7180, 6.0236, 17.3809)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124874 #743E12
analogous
#12746F #124874 #121774
triadic
#124874 #741248 #487412
tetradic
#124874 #6F1274 #743E12 #177412
square
#124874 #6F1274 #743E12 #177412
split-complementary
#124874 #741217 #746F12
monochromatic
#04101A #0A273F #124874 #1A69A9 #238ADD

Accessibility & contrast

On white

9.52
#124874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#124874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124874
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124874#FFFFFF#000000##FFFFFF
##1248741.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#254173
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124874;
/* rgb */ color: rgb(18, 72, 116);
/* oklch */ color: oklch(39.1% 0.093 248.0);
Tailwind
colors: {
  custom: {
    50: '#627a9c',
    500: '#124874',
    950: '#000000',
  },
}
SCSS
$custom: #124874;
$custom-light: #627a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#124874",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 206.939,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39117,
    "c": 0.09251,
    "h": 248
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#124874
secondary
#AB6B37
accent
#8B38F0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124874

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

Preview Lab → · Contrast checker → · Palette generator →

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