#124772#124772

#124772 is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.7% C 0.091 H 247.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#124772
RGBrgb(18, 71, 114)
HSLhsl(207, 73%, 26%)
HSVhsv(207, 84%, 45%)
CMYKcmyk(84.2%, 37.7%, 0%, 55.3%)
CIE-LABlab(29.03, -0.24, -29.53)
CIE-LCHlch(29.03, 29.54, 269.53°)
OKLaboklab(38.73% -0.0343 -0.0841)
OKLCHoklch(38.73% 0.091 247.8)
XYZxyz(5.5388, 5.8493, 16.7534)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124772 #723D12
analogous
#12726D #124772 #121772
triadic
#124772 #721247 #477212
tetradic
#124772 #6D1272 #723D12 #177212
square
#124772 #6D1272 #723D12 #177212
split-complementary
#124772 #721217 #726D12
monochromatic
#04101A #0A263D #124772 #1A68A7 #2389DC

Accessibility & contrast

On white

9.68
#124772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124772
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124772#FFFFFF#000000##FFFFFF
##1247721.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#254071
Tritanopia (blue-blind)
#005157
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124772;
/* rgb */ color: rgb(18, 71, 114);
/* oklch */ color: oklch(38.7% 0.091 247.8);
Tailwind
colors: {
  custom: {
    50: '#61799b',
    500: '#124772',
    950: '#000000',
  },
}
SCSS
$custom: #124772;
$custom-light: #61799b;
$custom-dark: #000000;
JSON
{
  "hex": "#124772",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 206.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.09088,
    "h": 247.8
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#124772
secondary
#A96A37
accent
#8A38EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124772

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

Preview Lab → · Contrast checker → · Palette generator →

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