#12355B#12355B

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

Color values

HEX#12355B
RGBrgb(18, 53, 91)
HSLhsl(211, 67%, 21%)
HSVhsv(211, 80%, 36%)
CMYKcmyk(80.2%, 41.8%, 0%, 64.3%)
CIE-LABlab(21.69, 2.46, -26.38)
CIE-LCHlch(21.69, 26.49, 275.33°)
OKLaboklab(32.52% -0.023 -0.0752)
OKLCHoklch(32.52% 0.079 253)
XYZxyz(3.4102, 3.4297, 10.3778)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12355B #5B3812
analogous
#125A5B #12355B #14125B
triadic
#12355B #5B1235 #355B12
tetradic
#12355B #5B125A #5B3812 #125B14
square
#12355B #5B125A #5B3812 #125B14
split-complementary
#12355B #5B1412 #5A5B12
monochromatic
#050F1A #081728 #12355B #1C538E #2671C1

Accessibility & contrast

On white

12.46
#12355B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12355B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12355B#FFFFFF#000000##FFFFFF
##12355B1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#18315A
Tritanopia (blue-blind)
#003E43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12355b;
/* rgb */ color: rgb(18, 53, 91);
/* oklch */ color: oklch(32.5% 0.079 253.0);
Tailwind
colors: {
  custom: {
    50: '#5c6b89',
    500: '#12355b',
    950: '#000000',
  },
}
SCSS
$custom: #12355b;
$custom-light: #5c6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#12355b",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 91
  },
  "hsl": {
    "h": 211.233,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32524,
    "c": 0.07867,
    "h": 253
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#12355B
secondary
#936635
accent
#973EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #12355B

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

Preview Lab → · Contrast checker → · Palette generator →

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