#123457#123457

#123457 is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.0% C 0.074 H 251.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#123457
RGBrgb(18, 52, 87)
HSLhsl(210, 66%, 21%)
HSVhsv(210, 79%, 34%)
CMYKcmyk(79.3%, 40.2%, 0%, 65.9%)
CIE-LABlab(21.10, 1.48, -24.67)
CIE-LCHlch(21.10, 24.71, 273.42°)
OKLaboklab(31.99% -0.0231 -0.0702)
OKLCHoklch(31.99% 0.074 251.8)
XYZxyz(3.1971, 3.2723, 9.4781)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123457 #573512
analogous
#125657 #123457 #131257
triadic
#123457 #571234 #345712
tetradic
#123457 #571256 #573512 #125713
square
#123457 #571256 #573512 #125713
split-complementary
#123457 #571312 #565712
monochromatic
#050F19 #081624 #123457 #1C528A #2771BC

Accessibility & contrast

On white

12.69
#123457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123457
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123457#FFFFFF#000000##FFFFFF
##1234571.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243658
Deuteranopia (green-blind)
#1A3056
Tritanopia (blue-blind)
#003C41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123457;
/* rgb */ color: rgb(18, 52, 87);
/* oklch */ color: oklch(32.0% 0.074 251.8);
Tailwind
colors: {
  custom: {
    50: '#5b6b86',
    500: '#123457',
    950: '#000000',
  },
}
SCSS
$custom: #123457;
$custom-light: #5b6b86;
$custom-dark: #000000;
JSON
{
  "hex": "#123457",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 87
  },
  "hsl": {
    "h": 210.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31985,
    "c": 0.07393,
    "h": 251.8
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#123457
secondary
#906335
accent
#953FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123457

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

Preview Lab → · Contrast checker → · Palette generator →

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