#124871#124871

#124871 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 38.9% C 0.089 H 246.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#124871
RGBrgb(18, 72, 113)
HSLhsl(206, 73%, 26%)
HSVhsv(206, 84%, 44%)
CMYKcmyk(84.1%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.30, -1.32, -28.48)
CIE-LCHlch(29.30, 28.51, 267.35°)
OKLaboklab(38.92% -0.0356 -0.081)
OKLCHoklch(38.92% 0.089 246.3)
XYZxyz(5.5463, 5.9549, 16.4767)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124871 #713B12
analogous
#12716A #124871 #121871
triadic
#124871 #711248 #487112
tetradic
#124871 #6A1271 #713B12 #187112
square
#124871 #6A1271 #713B12 #187112
split-complementary
#124871 #711218 #716A12
monochromatic
#04111A #0A263C #124871 #1A6AA6 #238BDB

Accessibility & contrast

On white

9.58
#124871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#124871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124871
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124871#FFFFFF#000000##FFFFFF
##1248711.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#274170
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124871;
/* rgb */ color: rgb(18, 72, 113);
/* oklch */ color: oklch(38.9% 0.089 246.3);
Tailwind
colors: {
  custom: {
    50: '#617a9a',
    500: '#124871',
    950: '#000000',
  },
}
SCSS
$custom: #124871;
$custom-light: #617a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#124871",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 205.895,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38924,
    "c": 0.08851,
    "h": 246.3
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#124871
secondary
#A86837
accent
#8739EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #124871

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

Preview Lab → · Contrast checker → · Palette generator →

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