#12365B#12365B

#12365B is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.8% C 0.077 H 251.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#12365B
RGBrgb(18, 54, 91)
HSLhsl(210, 67%, 21%)
HSVhsv(210, 80%, 36%)
CMYKcmyk(80.2%, 40.7%, 0%, 64.3%)
CIE-LABlab(22.02, 1.76, -25.85)
CIE-LCHlch(22.02, 25.90, 273.89°)
OKLaboklab(32.78% -0.024 -0.0736)
OKLCHoklch(32.78% 0.077 251.9)
XYZxyz(3.4562, 3.5219, 10.3931)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12365B #5B3712
analogous
#125B5B #12365B #13125B
triadic
#12365B #5B1236 #365B12
tetradic
#12365B #5B125B #5B3712 #125B13
square
#12365B #5B125B #5B3712 #125B13
split-complementary
#12365B #5B1312 #5B5B12
monochromatic
#050F1A #081828 #12365B #1C548E #2673C1

Accessibility & contrast

On white

12.32
#12365B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#12365B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12365B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12365B#FFFFFF#000000##FFFFFF
##12365B1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385D
Deuteranopia (green-blind)
#1A325A
Tritanopia (blue-blind)
#003F44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12365b;
/* rgb */ color: rgb(18, 54, 91);
/* oklch */ color: oklch(32.8% 0.077 251.9);
Tailwind
colors: {
  custom: {
    50: '#5c6c89',
    500: '#12365b',
    950: '#000000',
  },
}
SCSS
$custom: #12365b;
$custom-light: #5c6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#12365b",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 91
  },
  "hsl": {
    "h": 210.411,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32785,
    "c": 0.07748,
    "h": 251.9
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#12365B
secondary
#936535
accent
#953EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #12365B

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

Preview Lab → · Contrast checker → · Palette generator →

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