#123359#123359

#123359 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.9% C 0.078 H 254.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#123359
RGBrgb(18, 51, 89)
HSLhsl(212, 66%, 21%)
HSVhsv(212, 80%, 35%)
CMYKcmyk(79.8%, 42.7%, 0%, 65.1%)
CIE-LABlab(20.89, 3.03, -26.32)
CIE-LCHlch(20.89, 26.50, 276.56°)
OKLaboklab(31.86% -0.0215 -0.0751)
OKLCHoklch(31.86% 0.078 254.1)
XYZxyz(3.2358, 3.2172, 9.8997)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123359 #593812
analogous
#125659 #123359 #151259
triadic
#123359 #591233 #335912
tetradic
#123359 #591256 #593812 #125915
square
#123359 #591256 #593812 #125915
split-complementary
#123359 #591512 #565912
monochromatic
#050F19 #081626 #123359 #1C508C #276DBF

Accessibility & contrast

On white

12.78
#123359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#123359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123359
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123359#FFFFFF#000000##FFFFFF
##1233591.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365B
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#003C41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #123359;
/* rgb */ color: rgb(18, 51, 89);
/* oklch */ color: oklch(31.9% 0.078 254.1);
Tailwind
colors: {
  custom: {
    50: '#5b6a88',
    500: '#123359',
    950: '#000000',
  },
}
SCSS
$custom: #123359;
$custom-light: #5b6a88;
$custom-dark: #000000;
JSON
{
  "hex": "#123359",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 89
  },
  "hsl": {
    "h": 212.113,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31862,
    "c": 0.07812,
    "h": 254.1
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#123359
secondary
#926735
accent
#9A3FE9
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #123359

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

Preview Lab → · Contrast checker → · Palette generator →

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