#123847#123847

#123847 is a dark, muted cyan. Relative luminance 0.034; OKLCH L 32.1% C 0.050 H 227.6°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#123847
RGBrgb(18, 56, 71)
HSLhsl(197, 60%, 17%)
HSVhsv(197, 75%, 28%)
CMYKcmyk(74.6%, 21.1%, 0%, 72.2%)
CIE-LABlab(21.62, -7.73, -13.18)
CIE-LCHlch(21.62, 15.28, 239.60°)
OKLaboklab(32.11% -0.0337 -0.0369)
OKLCHoklch(32.11% 0.05 227.6)
XYZxyz(2.8005, 3.4116, 6.4709)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123847 #472112
analogous
#12473C #123847 #121E47
triadic
#123847 #471238 #384712
tetradic
#123847 #3C1247 #472112 #1E4712
square
#123847 #3C1247 #472112 #1E4712
split-complementary
#123847 #47121E #473C12
monochromatic
#061318 #061318 #123847 #1E5F78 #2B85A9

Accessibility & contrast

On white

12.48
#123847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#123847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123847
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123847#FFFFFF#000000##FFFFFF
##1238471.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#293147
Tritanopia (blue-blind)
#003C3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123847;
/* rgb */ color: rgb(18, 56, 71);
/* oklch */ color: oklch(32.1% 0.050 227.6);
Tailwind
colors: {
  custom: {
    50: '#576e7a',
    500: '#123847',
    950: '#000000',
  },
}
SCSS
$custom: #123847;
$custom-light: #576e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#123847",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 71
  },
  "hsl": {
    "h": 196.981,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.04994,
    "h": 227.6
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#123847
secondary
#804A35
accent
#7245E3
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #123847

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

Preview Lab → · Contrast checker → · Palette generator →

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