#124768#124768

#124768 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.1% C 0.078 H 241.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#124768
RGBrgb(18, 71, 104)
HSLhsl(203, 70%, 24%)
HSVhsv(203, 83%, 41%)
CMYKcmyk(82.7%, 31.7%, 0%, 59.2%)
CIE-LABlab(28.47, -4.33, -24.08)
CIE-LCHlch(28.47, 24.46, 259.81°)
OKLaboklab(38.11% -0.0376 -0.0682)
OKLCHoklch(38.11% 0.078 241.1)
XYZxyz(5.0004, 5.6339, 13.9179)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124768 #683312
analogous
#12685E #124768 #121C68
triadic
#124768 #681247 #476812
tetradic
#124768 #5E1268 #683312 #1C6812
square
#124768 #5E1268 #683312 #1C6812
split-complementary
#124768 #68121C #685E12
monochromatic
#05121A #092334 #124768 #1B6B9C #248ED0

Accessibility & contrast

On white

9.87
#124768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124768
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124768#FFFFFF#000000##FFFFFF
##1247681.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384869
Deuteranopia (green-blind)
#2C4067
Tritanopia (blue-blind)
#004F53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124768;
/* rgb */ color: rgb(18, 71, 104);
/* oklch */ color: oklch(38.1% 0.078 241.1);
Tailwind
colors: {
  custom: {
    50: '#5f7a93',
    500: '#124768',
    950: '#000000',
  },
}
SCSS
$custom: #124768;
$custom-light: #5f7a93;
$custom-dark: #000000;
JSON
{
  "hex": "#124768",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 104
  },
  "hsl": {
    "h": 203.023,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.07787,
    "h": 241.1
  },
  "luminance": 0.05635
}

Semantic roles & 50–950 ramp

primary
#124768
secondary
#A05F36
accent
#7F3BED
background
#F5F7F9
surface
#EAEDF1
border
#C6C8CB
text
#05090D
muted
#797B7E

Preview Lab

Preview with #124768

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

Preview Lab → · Contrast checker → · Palette generator →

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