#12355F#12355F

#12355F is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.8% C 0.085 H 255.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#12355F
RGBrgb(18, 53, 95)
HSLhsl(213, 68%, 22%)
HSVhsv(213, 81%, 37%)
CMYKcmyk(81.1%, 44.2%, 0%, 62.7%)
CIE-LABlab(21.95, 4.16, -28.59)
CIE-LCHlch(21.95, 28.89, 278.27°)
OKLaboklab(32.81% -0.0219 -0.0817)
OKLCHoklch(32.81% 0.085 255)
XYZxyz(3.5873, 3.5006, 11.3109)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12355F #5F3C12
analogous
#125C5F #12355F #15125F
triadic
#12355F #5F1235 #355F12
tetradic
#12355F #5F125C #5F3C12 #125F15
square
#12355F #5F125C #5F3C12 #125F15
split-complementary
#12355F #5F1512 #5C5F12
monochromatic
#050E1A #08182C #12355F #1C5292 #256EC6

Accessibility & contrast

On white

12.35
#12355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12355F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12355F#FFFFFF#000000##FFFFFF
##12355F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213861
Deuteranopia (green-blind)
#14315E
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12355f;
/* rgb */ color: rgb(18, 53, 95);
/* oklch */ color: oklch(32.8% 0.085 255.0);
Tailwind
colors: {
  custom: {
    50: '#5d6b8d',
    500: '#12355f',
    950: '#000000',
  },
}
SCSS
$custom: #12355f;
$custom-light: #5d6b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#12355f",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 212.727,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32809,
    "c": 0.08463,
    "h": 255
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#12355F
secondary
#976B36
accent
#9C3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #12355F

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

Preview Lab → · Contrast checker → · Palette generator →

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