#12365D#12365D

#12365D is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 32.9% C 0.080 H 253.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#12365D
RGBrgb(18, 54, 93)
HSLhsl(211, 68%, 22%)
HSVhsv(211, 81%, 36%)
CMYKcmyk(80.6%, 41.9%, 0%, 63.5%)
CIE-LABlab(22.15, 2.60, -26.96)
CIE-LCHlch(22.15, 27.09, 275.51°)
OKLaboklab(32.92% -0.0235 -0.0769)
OKLCHoklch(32.92% 0.08 253)
XYZxyz(3.5437, 3.5568, 10.8536)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12365D #5D3912
analogous
#125C5D #12365D #14125D
triadic
#12365D #5D1236 #365D12
tetradic
#12365D #5D125C #5D3912 #125D14
square
#12365D #5D125C #5D3912 #125D14
split-complementary
#12365D #5D1412 #5C5D12
monochromatic
#050F1A #08182A #12365D #1C5490 #2672C4

Accessibility & contrast

On white

12.27
#12365D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12365D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12365D#FFFFFF#000000##FFFFFF
##12365D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#18325C
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12365d;
/* rgb */ color: rgb(18, 54, 93);
/* oklch */ color: oklch(32.9% 0.080 253.0);
Tailwind
colors: {
  custom: {
    50: '#5c6c8b',
    500: '#12365d',
    950: '#000000',
  },
}
SCSS
$custom: #12365d;
$custom-light: #5c6c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#12365d",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 93
  },
  "hsl": {
    "h": 211.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.08043,
    "h": 253
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#12365D
secondary
#956735
accent
#973DEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12365D

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

Preview Lab → · Contrast checker → · Palette generator →

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