#12355C#12355C

#12355C is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.6% C 0.080 H 253.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#12355C
RGBrgb(18, 53, 92)
HSLhsl(212, 67%, 22%)
HSVhsv(212, 80%, 36%)
CMYKcmyk(80.4%, 42.4%, 0%, 63.9%)
CIE-LABlab(21.75, 2.88, -26.93)
CIE-LCHlch(21.75, 27.09, 276.11°)
OKLaboklab(32.59% -0.0227 -0.0769)
OKLCHoklch(32.59% 0.08 253.5)
XYZxyz(3.4536, 3.4471, 10.6065)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12355C #5C3912
analogous
#125A5C #12355C #14125C
triadic
#12355C #5C1235 #355C12
tetradic
#12355C #5C125A #5C3912 #125C14
square
#12355C #5C125A #5C3912 #125C14
split-complementary
#12355C #5C1412 #5A5C12
monochromatic
#050F1A #081829 #12355C #1C528F #2670C2

Accessibility & contrast

On white

12.43
#12355C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#12355C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12355C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12355C#FFFFFF#000000##FFFFFF
##12355C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#17315B
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12355c;
/* rgb */ color: rgb(18, 53, 92);
/* oklch */ color: oklch(32.6% 0.080 253.5);
Tailwind
colors: {
  custom: {
    50: '#5c6b8a',
    500: '#12355c',
    950: '#000000',
  },
}
SCSS
$custom: #12355c;
$custom-light: #5c6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#12355c",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 92
  },
  "hsl": {
    "h": 211.622,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32594,
    "c": 0.08015,
    "h": 253.5
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#12355C
secondary
#946735
accent
#993EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #12355C

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

Preview Lab → · Contrast checker → · Palette generator →

#12355C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva