#124868#124868

#124868 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.4% C 0.077 H 239.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#124868
RGBrgb(18, 72, 104)
HSLhsl(202, 70%, 24%)
HSVhsv(202, 83%, 41%)
CMYKcmyk(82.7%, 30.8%, 0%, 59.2%)
CIE-LABlab(28.80, -4.97, -23.55)
CIE-LCHlch(28.80, 24.07, 258.08°)
OKLaboklab(38.37% -0.0386 -0.0667)
OKLCHoklch(38.37% 0.077 239.9)
XYZxyz(5.0645, 5.7622, 13.9393)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124868 #683212
analogous
#12685D #124868 #121D68
triadic
#124868 #681248 #486812
tetradic
#124868 #5D1268 #683212 #1D6812
square
#124868 #5D1268 #683212 #1D6812
split-complementary
#124868 #68121D #685D12
monochromatic
#05121A #092434 #124868 #1B6C9C #2490D0

Accessibility & contrast

On white

9.76
#124868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#124868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124868
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124868#FFFFFF#000000##FFFFFF
##1248681.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394869
Deuteranopia (green-blind)
#2D4067
Tritanopia (blue-blind)
#005053
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124868;
/* rgb */ color: rgb(18, 72, 104);
/* oklch */ color: oklch(38.4% 0.077 239.9);
Tailwind
colors: {
  custom: {
    50: '#5f7a93',
    500: '#124868',
    950: '#000000',
  },
}
SCSS
$custom: #124868;
$custom-light: #5f7a93;
$custom-dark: #000000;
JSON
{
  "hex": "#124868",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 104
  },
  "hsl": {
    "h": 202.326,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.38372,
    "c": 0.07704,
    "h": 239.9
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#124868
secondary
#A05D36
accent
#7D3BED
background
#F5F7F9
surface
#EAEDF1
border
#C6C8CB
text
#05090D
muted
#797B7E

Preview Lab

Preview with #124868

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

Preview Lab → · Contrast checker → · Palette generator →

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