#123454#123454

#123454 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.8% C 0.070 H 249.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#123454
RGBrgb(18, 52, 84)
HSLhsl(209, 65%, 20%)
HSVhsv(209, 79%, 33%)
CMYKcmyk(78.6%, 38.1%, 0%, 67.1%)
CIE-LABlab(20.92, 0.22, -22.97)
CIE-LCHlch(20.92, 22.97, 270.54°)
OKLaboklab(31.78% -0.024 -0.0652)
OKLCHoklch(31.78% 0.07 249.8)
XYZxyz(3.0771, 3.2243, 8.8460)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123454 #543212
analogous
#125453 #123454 #121354
triadic
#123454 #541234 #345412
tetradic
#123454 #531254 #543212 #135412
square
#123454 #531254 #543212 #135412
split-complementary
#123454 #541213 #545312
monochromatic
#051019 #071522 #123454 #1D5386 #2872B9

Accessibility & contrast

On white

12.77
#123454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#123454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123454
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123454#FFFFFF#000000##FFFFFF
##1234541.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253655
Deuteranopia (green-blind)
#1C3053
Tritanopia (blue-blind)
#003C40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123454;
/* rgb */ color: rgb(18, 52, 84);
/* oklch */ color: oklch(31.8% 0.070 249.8);
Tailwind
colors: {
  custom: {
    50: '#5a6b84',
    500: '#123454',
    950: '#000000',
  },
}
SCSS
$custom: #123454;
$custom-light: #5a6b84;
$custom-dark: #000000;
JSON
{
  "hex": "#123454",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 84
  },
  "hsl": {
    "h": 209.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.31783,
    "c": 0.06952,
    "h": 249.8
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#123454
secondary
#8D6035
accent
#9140E8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123454

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

Preview Lab → · Contrast checker → · Palette generator →

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