#124762#124762

#124762 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 37.8% C 0.071 H 235.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#124762
RGBrgb(18, 71, 98)
HSLhsl(200, 69%, 23%)
HSVhsv(200, 82%, 38%)
CMYKcmyk(81.6%, 27.6%, 0%, 61.6%)
CIE-LABlab(28.16, -6.73, -20.73)
CIE-LCHlch(28.16, 21.79, 252.01°)
OKLaboklab(37.76% -0.0398 -0.0585)
OKLCHoklch(37.76% 0.071 235.8)
XYZxyz(4.7064, 5.5164, 12.3696)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124762 #622D12
analogous
#126255 #124762 #121F62
triadic
#124762 #621247 #476212
tetradic
#124762 #551262 #622D12 #1F6212
square
#124762 #551262 #622D12 #1F6212
split-complementary
#124762 #62121F #625512
monochromatic
#05131A #09222E #124762 #1B6C96 #2592C9

Accessibility & contrast

On white

9.98
#124762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124762
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124762#FFFFFF#000000##FFFFFF
##1247621.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4763
Deuteranopia (green-blind)
#2F3F62
Tritanopia (blue-blind)
#004E50
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124762;
/* rgb */ color: rgb(18, 71, 98);
/* oklch */ color: oklch(37.8% 0.071 235.8);
Tailwind
colors: {
  custom: {
    50: '#5e7a8e',
    500: '#124762',
    950: '#000000',
  },
}
SCSS
$custom: #124762;
$custom-light: #5e7a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#124762",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 98
  },
  "hsl": {
    "h": 200.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.07074,
    "h": 235.8
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#124762
secondary
#9A5836
accent
#773CEC
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #124762

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

Preview Lab → · Contrast checker → · Palette generator →

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