#124F7E#124F7E

#124F7E is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.098 H 247.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#124F7E
RGBrgb(18, 79, 126)
HSLhsl(206, 75%, 28%)
HSVhsv(206, 86%, 49%)
CMYKcmyk(85.7%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.32, -0.59, -31.83)
CIE-LCHlch(32.32, 31.83, 268.94°)
OKLaboklab(41.54% -0.0383 -0.0907)
OKLCHoklch(41.54% 0.098 247.1)
XYZxyz(6.8099, 7.2261, 20.7705)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F7E #7E4112
analogous
#127E77 #124F7E #12197E
triadic
#124F7E #7E124F #4F7E12
tetradic
#124F7E #77127E #7E4112 #197E12
square
#124F7E #77127E #7E4112 #197E12
split-complementary
#124F7E #7E1219 #7E7712
monochromatic
#04111B #0A2D48 #124F7E #1A71B4 #2A91E1

Accessibility & contrast

On white

8.59
#124F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#124F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F7E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F7E#FFFFFF#000000##FFFFFF
##124F7E1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395180
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #124f7e;
/* rgb */ color: rgb(18, 79, 126);
/* oklch */ color: oklch(41.5% 0.098 247.1);
Tailwind
colors: {
  custom: {
    50: '#6480a3',
    500: '#124f7e',
    950: '#000000',
  },
}
SCSS
$custom: #124f7e;
$custom-light: #6480a3;
$custom-dark: #000000;
JSON
{
  "hex": "#124f7e",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 206.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41543,
    "c": 0.09847,
    "h": 247.1
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#124F7E
secondary
#B46E38
accent
#8836F2
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #124F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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