#123654#123654

#123654 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.3% C 0.067 H 247.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#123654
RGBrgb(18, 54, 84)
HSLhsl(207, 65%, 20%)
HSVhsv(207, 79%, 33%)
CMYKcmyk(78.6%, 35.7%, 0%, 67.1%)
CIE-LABlab(21.60, -1.17, -21.89)
CIE-LCHlch(21.60, 21.92, 266.93°)
OKLaboklab(32.32% -0.0262 -0.0621)
OKLCHoklch(32.32% 0.067 247.1)
XYZxyz(3.1682, 3.4067, 8.8764)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123654 #543012
analogous
#125451 #123654 #121554
triadic
#123654 #541236 #365412
tetradic
#123654 #511254 #543012 #155412
square
#123654 #511254 #543012 #155412
split-complementary
#123654 #541215 #545112
monochromatic
#051019 #071622 #123654 #1D5686 #2877B9

Accessibility & contrast

On white

12.49
#123654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123654
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123654#FFFFFF#000000##FFFFFF
##1236541.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283755
Deuteranopia (green-blind)
#1F3153
Tritanopia (blue-blind)
#003D41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123654;
/* rgb */ color: rgb(18, 54, 84);
/* oklch */ color: oklch(32.3% 0.067 247.1);
Tailwind
colors: {
  custom: {
    50: '#5a6c84',
    500: '#123654',
    950: '#000000',
  },
}
SCSS
$custom: #123654;
$custom-light: #5a6c84;
$custom-dark: #000000;
JSON
{
  "hex": "#123654",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 84
  },
  "hsl": {
    "h": 207.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3232,
    "c": 0.06738,
    "h": 247.1
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#123654
secondary
#8D5D35
accent
#8C40E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #123654

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

Preview Lab → · Contrast checker → · Palette generator →

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