#123458#123458

#123458 is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.1% C 0.075 H 252.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#123458
RGBrgb(18, 52, 88)
HSLhsl(211, 66%, 21%)
HSVhsv(211, 80%, 35%)
CMYKcmyk(79.5%, 40.9%, 0%, 65.5%)
CIE-LABlab(21.17, 1.90, -25.23)
CIE-LCHlch(21.17, 25.30, 274.30°)
OKLaboklab(32.05% -0.0228 -0.0719)
OKLCHoklch(32.05% 0.075 252.4)
XYZxyz(3.2382, 3.2888, 9.6948)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123458 #583612
analogous
#125758 #123458 #131258
triadic
#123458 #581234 #345812
tetradic
#123458 #581257 #583612 #125813
square
#123458 #581257 #583612 #125813
split-complementary
#123458 #581312 #575812
monochromatic
#050F19 #081625 #123458 #1C528B #2770BE

Accessibility & contrast

On white

12.67
#123458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#123458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123458
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123458#FFFFFF#000000##FFFFFF
##1234581.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233659
Deuteranopia (green-blind)
#193057
Tritanopia (blue-blind)
#003C41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123458;
/* rgb */ color: rgb(18, 52, 88);
/* oklch */ color: oklch(32.1% 0.075 252.4);
Tailwind
colors: {
  custom: {
    50: '#5b6b87',
    500: '#123458',
    950: '#000000',
  },
}
SCSS
$custom: #123458;
$custom-light: #5b6b87;
$custom-dark: #000000;
JSON
{
  "hex": "#123458",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 88
  },
  "hsl": {
    "h": 210.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32054,
    "c": 0.07541,
    "h": 252.4
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#123458
secondary
#916435
accent
#963FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123458

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

Preview Lab → · Contrast checker → · Palette generator →

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