#124771#124771

#124771 is a dark, moderate cyan. Relative luminance 0.058; OKLCH L 38.7% C 0.090 H 247.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#124771
RGBrgb(18, 71, 113)
HSLhsl(207, 73%, 26%)
HSVhsv(207, 84%, 44%)
CMYKcmyk(84.1%, 37.2%, 0%, 55.7%)
CIE-LABlab(28.97, -0.65, -29.00)
CIE-LCHlch(28.97, 29.00, 268.71°)
OKLaboklab(38.67% -0.0346 -0.0826)
OKLCHoklch(38.67% 0.09 247.2)
XYZxyz(5.4822, 5.8267, 16.4553)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124771 #713C12
analogous
#12716B #124771 #121871
triadic
#124771 #711247 #477112
tetradic
#124771 #6B1271 #713C12 #187112
square
#124771 #6B1271 #713C12 #187112
split-complementary
#124771 #711218 #716B12
monochromatic
#04111A #0A263C #124771 #1A68A6 #2389DB

Accessibility & contrast

On white

9.70
#124771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124771
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124771#FFFFFF#000000##FFFFFF
##1247711.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#005156
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124771;
/* rgb */ color: rgb(18, 71, 113);
/* oklch */ color: oklch(38.7% 0.090 247.2);
Tailwind
colors: {
  custom: {
    50: '#61799a',
    500: '#124771',
    950: '#000000',
  },
}
SCSS
$custom: #124771;
$custom-light: #61799a;
$custom-dark: #000000;
JSON
{
  "hex": "#124771",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 113
  },
  "hsl": {
    "h": 206.526,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38666,
    "c": 0.08953,
    "h": 247.2
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#124771
secondary
#A86937
accent
#8939EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124771

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

Preview Lab → · Contrast checker → · Palette generator →

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