#124E7F#124E7F

#124E7F is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.101 H 248.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#124E7F
RGBrgb(18, 78, 127)
HSLhsl(207, 75%, 28%)
HSVhsv(207, 86%, 50%)
CMYKcmyk(85.8%, 38.6%, 0%, 50.2%)
CIE-LABlab(32.05, 0.47, -32.86)
CIE-LCHlch(32.05, 32.87, 270.82°)
OKLaboklab(41.36% -0.0371 -0.0938)
OKLCHoklch(41.36% 0.101 248.4)
XYZxyz(6.8031, 7.1088, 21.0881)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E7F #7F4312
analogous
#127F79 #124E7F #12187F
triadic
#124E7F #7F124E #4E7F12
tetradic
#124E7F #79127F #7F4312 #187F12
square
#124E7F #79127F #7F4312 #187F12
split-complementary
#124E7F #7F1218 #7F7912
monochromatic
#04101B #0A2D49 #124E7F #1A6FB5 #2B8FE1

Accessibility & contrast

On white

8.67
#124E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#124E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E7F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E7F#FFFFFF#000000##FFFFFF
##124E7F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#26477E
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #124e7f;
/* rgb */ color: rgb(18, 78, 127);
/* oklch */ color: oklch(41.4% 0.101 248.4);
Tailwind
colors: {
  custom: {
    50: '#647fa4',
    500: '#124e7f',
    950: '#000000',
  },
}
SCSS
$custom: #124e7f;
$custom-light: #647fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#124e7f",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 206.972,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.10085,
    "h": 248.4
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#124E7F
secondary
#B57038
accent
#8A36F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #124E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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