#124162#124162

#124162 is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.1% C 0.076 H 243.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#124162
RGBrgb(18, 65, 98)
HSLhsl(205, 69%, 23%)
HSVhsv(205, 82%, 38%)
CMYKcmyk(81.6%, 33.7%, 0%, 61.6%)
CIE-LABlab(26.13, -2.83, -23.91)
CIE-LCHlch(26.13, 24.08, 263.25°)
OKLaboklab(36.15% -0.0334 -0.0678)
OKLCHoklch(36.15% 0.076 243.8)
XYZxyz(4.3435, 4.7905, 12.2486)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124162 #623312
analogous
#12625B #124162 #121962
triadic
#124162 #621241 #416212
tetradic
#124162 #5B1262 #623312 #196212
square
#124162 #5B1262 #623312 #196212
split-complementary
#124162 #621219 #625B12
monochromatic
#05111A #091F2E #124162 #1B6396 #2586C9

Accessibility & contrast

On white

10.72
#124162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#124162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124162
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124162#FFFFFF#000000##FFFFFF
##1241621.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324263
Deuteranopia (green-blind)
#273B61
Tritanopia (blue-blind)
#00494D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124162;
/* rgb */ color: rgb(18, 65, 98);
/* oklch */ color: oklch(36.1% 0.076 243.8);
Tailwind
colors: {
  custom: {
    50: '#5d758f',
    500: '#124162',
    950: '#000000',
  },
}
SCSS
$custom: #124162;
$custom-light: #5d758f;
$custom-dark: #000000;
JSON
{
  "hex": "#124162",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 204.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.36148,
    "c": 0.07559,
    "h": 243.8
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#124162
secondary
#9A5F36
accent
#853CEC
background
#F5F7F8
surface
#EAEDF0
border
#C6C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #124162

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

Preview Lab → · Contrast checker → · Palette generator →

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