#124171#124171

#124171 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.1% C 0.096 H 252.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#124171
RGBrgb(18, 65, 113)
HSLhsl(210, 73%, 26%)
HSVhsv(210, 84%, 44%)
CMYKcmyk(84.1%, 42.5%, 0%, 55.7%)
CIE-LABlab(27.02, 3.39, -32.10)
CIE-LCHlch(27.02, 32.28, 276.04°)
OKLaboklab(37.14% -0.0289 -0.0918)
OKLCHoklch(37.14% 0.096 252.5)
XYZxyz(5.1193, 5.1008, 16.3343)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124171 #714212
analogous
#127071 #124171 #131271
triadic
#124171 #711241 #417112
tetradic
#124171 #711270 #714212 #127113
square
#124171 #711270 #714212 #127113
split-complementary
#124171 #711312 #707112
monochromatic
#040F1A #0A233C #124171 #1A5FA6 #237EDB

Accessibility & contrast

On white

10.40
#124171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#124171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124171
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124171#FFFFFF#000000##FFFFFF
##1241711.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4473
Deuteranopia (green-blind)
#1A3C70
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124171;
/* rgb */ color: rgb(18, 65, 113);
/* oklch */ color: oklch(37.1% 0.096 252.5);
Tailwind
colors: {
  custom: {
    50: '#61759a',
    500: '#124171',
    950: '#000000',
  },
}
SCSS
$custom: #124171;
$custom-light: #61759a;
$custom-dark: #000000;
JSON
{
  "hex": "#124171",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 210.316,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37138,
    "c": 0.09623,
    "h": 252.5
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#124171
secondary
#A87037
accent
#9539EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #124171

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

Preview Lab → · Contrast checker → · Palette generator →

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