#12355A#12355A

#12355A is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.5% C 0.077 H 252.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#12355A
RGBrgb(18, 53, 90)
HSLhsl(211, 67%, 21%)
HSVhsv(211, 80%, 35%)
CMYKcmyk(80%, 41.1%, 0%, 64.7%)
CIE-LABlab(21.63, 2.04, -25.82)
CIE-LCHlch(21.63, 25.90, 274.51°)
OKLaboklab(32.46% -0.0233 -0.0736)
OKLCHoklch(32.46% 0.077 252.4)
XYZxyz(3.3673, 3.4126, 10.1521)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12355A #5A3712
analogous
#12595A #12355A #13125A
triadic
#12355A #5A1235 #355A12
tetradic
#12355A #5A1259 #5A3712 #125A13
square
#12355A #5A1259 #5A3712 #125A13
split-complementary
#12355A #5A1312 #595A12
monochromatic
#050F1A #081727 #12355A #1C538D #2671C0

Accessibility & contrast

On white

12.48
#12355A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#12355A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12355A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12355A#FFFFFF#000000##FFFFFF
##12355A1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375C
Deuteranopia (green-blind)
#193159
Tritanopia (blue-blind)
#003E43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12355a;
/* rgb */ color: rgb(18, 53, 90);
/* oklch */ color: oklch(32.5% 0.077 252.4);
Tailwind
colors: {
  custom: {
    50: '#5b6b89',
    500: '#12355a',
    950: '#000000',
  },
}
SCSS
$custom: #12355a;
$custom-light: #5b6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#12355a",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 90
  },
  "hsl": {
    "h": 210.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32455,
    "c": 0.07719,
    "h": 252.4
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#12355A
secondary
#936535
accent
#963EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #12355A

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

Preview Lab → · Contrast checker → · Palette generator →

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