#12365C#12365C

#12365C is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.9% C 0.079 H 252.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#12365C
RGBrgb(18, 54, 92)
HSLhsl(211, 67%, 22%)
HSVhsv(211, 80%, 36%)
CMYKcmyk(80.4%, 41.3%, 0%, 63.9%)
CIE-LABlab(22.09, 2.18, -26.40)
CIE-LCHlch(22.09, 26.49, 274.72°)
OKLaboklab(32.86% -0.0238 -0.0753)
OKLCHoklch(32.86% 0.079 252.5)
XYZxyz(3.4997, 3.5392, 10.6218)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12365C #5C3812
analogous
#125B5C #12365C #13125C
triadic
#12365C #5C1236 #365C12
tetradic
#12365C #5C125B #5C3812 #125C13
square
#12365C #5C125B #5C3812 #125C13
split-complementary
#12365C #5C1312 #5B5C12
monochromatic
#050F1A #081829 #12365C #1C548F #2672C2

Accessibility & contrast

On white

12.30
#12365C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#12365C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12365C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12365C#FFFFFF#000000##FFFFFF
##12365C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#19325B
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12365c;
/* rgb */ color: rgb(18, 54, 92);
/* oklch */ color: oklch(32.9% 0.079 252.5);
Tailwind
colors: {
  custom: {
    50: '#5c6c8a',
    500: '#12365c',
    950: '#000000',
  },
}
SCSS
$custom: #12365c;
$custom-light: #5c6c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#12365c",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 92
  },
  "hsl": {
    "h": 210.811,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.07894,
    "h": 252.5
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#12365C
secondary
#946635
accent
#963EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #12365C

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

Preview Lab → · Contrast checker → · Palette generator →

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