#123852#123852

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

Color values

HEX#123852
RGBrgb(18, 56, 82)
HSLhsl(204, 64%, 20%)
HSVhsv(204, 78%, 32%)
CMYKcmyk(78%, 31.7%, 0%, 67.8%)
CIE-LABlab(22.18, -3.36, -19.65)
CIE-LCHlch(22.18, 19.94, 260.31°)
OKLaboklab(32.74% -0.0292 -0.0555)
OKLCHoklch(32.74% 0.063 242.3)
XYZxyz(3.1860, 3.5658, 8.5014)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123852 #522C12
analogous
#12524C #123852 #121852
triadic
#123852 #521238 #385212
tetradic
#123852 #4C1252 #522C12 #185212
square
#123852 #4C1252 #522C12 #185212
split-complementary
#123852 #521218 #524C12
monochromatic
#061119 #071620 #123852 #1D5A84 #287DB6

Accessibility & contrast

On white

12.26
#123852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123852
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123852#FFFFFF#000000##FFFFFF
##1238521.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123852;
/* rgb */ color: rgb(18, 56, 82);
/* oklch */ color: oklch(32.7% 0.063 242.3);
Tailwind
colors: {
  custom: {
    50: '#5a6e82',
    500: '#123852',
    950: '#000000',
  },
}
SCSS
$custom: #123852;
$custom-light: #5a6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#123852",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 204.375,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32738,
    "c": 0.06275,
    "h": 242.3
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#123852
secondary
#8B5835
accent
#8441E7
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #123852

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

Preview Lab → · Contrast checker → · Palette generator →

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