#12365E#12365E

#12365E is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.0% C 0.082 H 253.5°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#12365E
RGBrgb(18, 54, 94)
HSLhsl(212, 68%, 22%)
HSVhsv(212, 81%, 37%)
CMYKcmyk(80.9%, 42.6%, 0%, 63.1%)
CIE-LABlab(22.21, 3.02, -27.51)
CIE-LCHlch(22.21, 27.68, 276.27°)
OKLaboklab(33% -0.0232 -0.0785)
OKLCHoklch(33% 0.082 253.5)
XYZxyz(3.5882, 3.5747, 11.0884)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12365E #5E3A12
analogous
#125C5E #12365E #14125E
triadic
#12365E #5E1236 #365E12
tetradic
#12365E #5E125C #5E3A12 #125E14
square
#12365E #5E125C #5E3A12 #125E14
split-complementary
#12365E #5E1412 #5C5E12
monochromatic
#050F1A #08182B #12365E #1C5491 #2671C5

Accessibility & contrast

On white

12.24
#12365E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#12365E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12365E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12365E#FFFFFF#000000##FFFFFF
##12365E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#17325D
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12365e;
/* rgb */ color: rgb(18, 54, 94);
/* oklch */ color: oklch(33.0% 0.082 253.5);
Tailwind
colors: {
  custom: {
    50: '#5c6c8c',
    500: '#12365e',
    950: '#000000',
  },
}
SCSS
$custom: #12365e;
$custom-light: #5c6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12365e",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 94
  },
  "hsl": {
    "h": 211.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32995,
    "c": 0.0819,
    "h": 253.5
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#12365E
secondary
#966835
accent
#983DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12365E

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

Preview Lab → · Contrast checker → · Palette generator →

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