#12355E#12355E

#12355E is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.7% C 0.083 H 254.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#12355E
RGBrgb(18, 53, 94)
HSLhsl(212, 68%, 22%)
HSVhsv(212, 81%, 37%)
CMYKcmyk(80.9%, 43.6%, 0%, 63.1%)
CIE-LABlab(21.88, 3.73, -28.04)
CIE-LCHlch(21.88, 28.29, 277.58°)
OKLaboklab(32.74% -0.0222 -0.0801)
OKLCHoklch(32.74% 0.083 254.5)
XYZxyz(3.5422, 3.4826, 11.0730)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12355E #5E3B12
analogous
#125B5E #12355E #15125E
triadic
#12355E #5E1235 #355E12
tetradic
#12355E #5E125B #5E3B12 #125E15
square
#12355E #5E125B #5E3B12 #125E15
split-complementary
#12355E #5E1512 #5B5E12
monochromatic
#050E1A #08182B #12355E #1C5291 #266FC5

Accessibility & contrast

On white

12.38
#12355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#12355E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12355E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12355E#FFFFFF#000000##FFFFFF
##12355E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#15315D
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12355e;
/* rgb */ color: rgb(18, 53, 94);
/* oklch */ color: oklch(32.7% 0.083 254.5);
Tailwind
colors: {
  custom: {
    50: '#5c6b8c',
    500: '#12355e',
    950: '#000000',
  },
}
SCSS
$custom: #12355e;
$custom-light: #5c6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12355e",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 212.368,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32737,
    "c": 0.08313,
    "h": 254.5
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#12355E
secondary
#966A35
accent
#9B3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #12355E

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

Preview Lab → · Contrast checker → · Palette generator →

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