#124F76#124F76

#124F76 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.0% C 0.088 H 242.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#124F76
RGBrgb(18, 79, 118)
HSLhsl(203, 74%, 27%)
HSVhsv(203, 85%, 46%)
CMYKcmyk(84.7%, 33.1%, 0%, 53.7%)
CIE-LABlab(31.87, -3.83, -27.55)
CIE-LCHlch(31.87, 27.82, 262.08°)
OKLaboklab(41.05% -0.0408 -0.0782)
OKLCHoklch(41.05% 0.088 242.4)
XYZxyz(6.3142, 7.0278, 18.1597)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F76 #763912
analogous
#12766B #124F76 #121D76
triadic
#124F76 #76124F #4F7612
tetradic
#124F76 #6B1276 #763912 #1D7612
square
#124F76 #6B1276 #763912 #1D7612
split-complementary
#124F76 #76121D #766B12
monochromatic
#04121B #0A2B41 #124F76 #1A73AB #2596DE

Accessibility & contrast

On white

8.73
#124F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#124F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F76
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F76#FFFFFF#000000##FFFFFF
##124F761.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#2F4775
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #124f76;
/* rgb */ color: rgb(18, 79, 118);
/* oklch */ color: oklch(41.0% 0.088 242.4);
Tailwind
colors: {
  custom: {
    50: '#62809d',
    500: '#124f76',
    950: '#000000',
  },
}
SCSS
$custom: #124f76;
$custom-light: #62809d;
$custom-dark: #000000;
JSON
{
  "hex": "#124f76",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 118
  },
  "hsl": {
    "h": 203.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.08824,
    "h": 242.4
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#124F76
secondary
#AD6537
accent
#8038F0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #124F76

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

Preview Lab → · Contrast checker → · Palette generator →

#124F76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva