#124766#124766

#124766 is a dark, moderate cyan. Relative luminance 0.056; OKLCH L 38.0% C 0.075 H 239.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#124766
RGBrgb(18, 71, 102)
HSLhsl(202, 70%, 24%)
HSVhsv(202, 82%, 40%)
CMYKcmyk(82.4%, 30.4%, 0%, 60%)
CIE-LABlab(28.36, -5.13, -22.97)
CIE-LCHlch(28.36, 23.53, 257.40°)
OKLaboklab(37.99% -0.0383 -0.065)
OKLCHoklch(37.99% 0.075 239.5)
XYZxyz(4.9000, 5.5938, 13.3893)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124766 #663112
analogous
#12665B #124766 #121D66
triadic
#124766 #661247 #476612
tetradic
#124766 #5B1266 #663112 #1D6612
square
#124766 #5B1266 #663112 #1D6612
split-complementary
#124766 #66121D #665B12
monochromatic
#05121A #092332 #124766 #1B6B9A #248FCE

Accessibility & contrast

On white

9.91
#124766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124766
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124766#FFFFFF#000000##FFFFFF
##1247661.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384767
Deuteranopia (green-blind)
#2D3F65
Tritanopia (blue-blind)
#004F52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124766;
/* rgb */ color: rgb(18, 71, 102);
/* oklch */ color: oklch(38.0% 0.075 239.5);
Tailwind
colors: {
  custom: {
    50: '#5f7a92',
    500: '#124766',
    950: '#000000',
  },
}
SCSS
$custom: #124766;
$custom-light: #5f7a92;
$custom-dark: #000000;
JSON
{
  "hex": "#124766",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 102
  },
  "hsl": {
    "h": 202.143,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.37988,
    "c": 0.07542,
    "h": 239.5
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#124766
secondary
#9E5C36
accent
#7D3BED
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090D
muted
#797B7D

Preview Lab

Preview with #124766

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

Preview Lab → · Contrast checker → · Palette generator →

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