#123855#123855

#123855 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 32.9% C 0.067 H 245.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#123855
RGBrgb(18, 56, 85)
HSLhsl(206, 65%, 20%)
HSVhsv(206, 79%, 33%)
CMYKcmyk(78.8%, 34.1%, 0%, 66.7%)
CIE-LABlab(22.35, -2.13, -21.38)
CIE-LCHlch(22.35, 21.48, 264.32°)
OKLaboklab(32.92% -0.0281 -0.0606)
OKLCHoklch(32.92% 0.067 245.1)
XYZxyz(3.3027, 3.6125, 9.1158)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123855 #552F12
analogous
#125550 #123855 #121655
triadic
#123855 #551238 #385512
tetradic
#123855 #501255 #552F12 #165512
square
#123855 #501255 #552F12 #165512
split-complementary
#123855 #551216 #555012
monochromatic
#051119 #071722 #123855 #1D5988 #277BBA

Accessibility & contrast

On white

12.19
#123855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#123855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123855
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123855#FFFFFF#000000##FFFFFF
##1238551.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#213354
Tritanopia (blue-blind)
#003F42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123855;
/* rgb */ color: rgb(18, 56, 85);
/* oklch */ color: oklch(32.9% 0.067 245.1);
Tailwind
colors: {
  custom: {
    50: '#5a6e85',
    500: '#123855',
    950: '#000000',
  },
}
SCSS
$custom: #123855;
$custom-light: #5a6e85;
$custom-dark: #000000;
JSON
{
  "hex": "#123855",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 85
  },
  "hsl": {
    "h": 205.97,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.06677,
    "h": 245.1
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#123855
secondary
#8E5B35
accent
#8940E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123855

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

Preview Lab → · Contrast checker → · Palette generator →

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