#124164#124164

#124164 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.3% C 0.078 H 245.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#124164
RGBrgb(18, 65, 100)
HSLhsl(206, 69%, 23%)
HSVhsv(206, 82%, 39%)
CMYKcmyk(82%, 35%, 0%, 60.8%)
CIE-LABlab(26.24, -2.01, -25.02)
CIE-LCHlch(26.24, 25.10, 265.40°)
OKLaboklab(36.27% -0.0327 -0.071)
OKLCHoklch(36.27% 0.078 245.3)
XYZxyz(4.4391, 4.8288, 12.7522)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124164 #643512
analogous
#12645E #124164 #121864
triadic
#124164 #641241 #416412
tetradic
#124164 #5E1264 #643512 #186412
square
#124164 #5E1264 #643512 #186412
split-complementary
#124164 #641218 #645E12
monochromatic
#05111A #091F30 #124164 #1B6398 #2584CC

Accessibility & contrast

On white

10.68
#124164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#124164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124164
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124164#FFFFFF#000000##FFFFFF
##1241641.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314265
Deuteranopia (green-blind)
#253B63
Tritanopia (blue-blind)
#00494E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124164;
/* rgb */ color: rgb(18, 65, 100);
/* oklch */ color: oklch(36.3% 0.078 245.3);
Tailwind
colors: {
  custom: {
    50: '#5e7590',
    500: '#124164',
    950: '#000000',
  },
}
SCSS
$custom: #124164;
$custom-light: #5e7590;
$custom-dark: #000000;
JSON
{
  "hex": "#124164",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 100
  },
  "hsl": {
    "h": 205.61,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.07823,
    "h": 245.3
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#124164
secondary
#9C6136
accent
#873BEC
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #124164

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

Preview Lab → · Contrast checker → · Palette generator →

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