#123854#123854

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

Color values

HEX#123854
RGBrgb(18, 56, 84)
HSLhsl(205, 65%, 20%)
HSVhsv(205, 79%, 33%)
CMYKcmyk(78.6%, 33.3%, 0%, 67.1%)
CIE-LABlab(22.29, -2.54, -20.80)
CIE-LCHlch(22.29, 20.96, 263.04°)
OKLaboklab(32.86% -0.0285 -0.0589)
OKLCHoklch(32.86% 0.065 244.2)
XYZxyz(3.2632, 3.5967, 8.9080)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123854 #542E12
analogous
#12544F #123854 #121754
triadic
#123854 #541238 #385412
tetradic
#123854 #4F1254 #542E12 #175412
square
#123854 #4F1254 #542E12 #175412
split-complementary
#123854 #541217 #544F12
monochromatic
#051119 #071622 #123854 #1D5A86 #287BB9

Accessibility & contrast

On white

12.21
#123854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123854
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123854#FFFFFF#000000##FFFFFF
##1238541.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123854;
/* rgb */ color: rgb(18, 56, 84);
/* oklch */ color: oklch(32.9% 0.065 244.2);
Tailwind
colors: {
  custom: {
    50: '#5a6e84',
    500: '#123854',
    950: '#000000',
  },
}
SCSS
$custom: #123854;
$custom-light: #5a6e84;
$custom-dark: #000000;
JSON
{
  "hex": "#123854",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 84
  },
  "hsl": {
    "h": 205.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.32861,
    "c": 0.06542,
    "h": 244.2
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#123854
secondary
#8D5A35
accent
#8740E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123854

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

Preview Lab → · Contrast checker → · Palette generator →

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