#123851#123851

#123851 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 32.7% C 0.061 H 241.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#123851
RGBrgb(18, 56, 81)
HSLhsl(204, 64%, 19%)
HSVhsv(204, 78%, 32%)
CMYKcmyk(77.8%, 30.9%, 0%, 68.2%)
CIE-LABlab(22.13, -3.76, -19.07)
CIE-LCHlch(22.13, 19.44, 258.84°)
OKLaboklab(32.68% -0.0296 -0.0539)
OKLCHoklch(32.68% 0.061 241.2)
XYZxyz(3.1483, 3.5507, 8.3024)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123851 #512B12
analogous
#12514B #123851 #121851
triadic
#123851 #511238 #385112
tetradic
#123851 #4B1251 #512B12 #185112
square
#123851 #4B1251 #512B12 #185112
split-complementary
#123851 #511218 #514B12
monochromatic
#061119 #07151F #123851 #1D5B83 #287DB5

Accessibility & contrast

On white

12.28
#123851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#123851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123851
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123851#FFFFFF#000000##FFFFFF
##1238511.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3852
Deuteranopia (green-blind)
#243251
Tritanopia (blue-blind)
#003E41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123851;
/* rgb */ color: rgb(18, 56, 81);
/* oklch */ color: oklch(32.7% 0.061 241.2);
Tailwind
colors: {
  custom: {
    50: '#596e82',
    500: '#123851',
    950: '#000000',
  },
}
SCSS
$custom: #123851;
$custom-light: #596e82;
$custom-dark: #000000;
JSON
{
  "hex": "#123851",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 81
  },
  "hsl": {
    "h": 203.81,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.32677,
    "c": 0.06145,
    "h": 241.2
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#123851
secondary
#8A5735
accent
#8341E7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123851

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

Preview Lab → · Contrast checker → · Palette generator →

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