#12365F#12365F

#12365F is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.1% C 0.083 H 254.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#12365F
RGBrgb(18, 54, 95)
HSLhsl(212, 68%, 22%)
HSVhsv(212, 81%, 37%)
CMYKcmyk(81.1%, 43.2%, 0%, 62.7%)
CIE-LABlab(22.28, 3.45, -28.07)
CIE-LCHlch(22.28, 28.28, 277.01°)
OKLaboklab(33.07% -0.023 -0.0802)
OKLCHoklch(33.07% 0.083 254)
XYZxyz(3.6334, 3.5927, 11.3262)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12365F #5F3B12
analogous
#125D5F #12365F #14125F
triadic
#12365F #5F1236 #365F12
tetradic
#12365F #5F125D #5F3B12 #125F14
square
#12365F #5F125D #5F3B12 #125F14
split-complementary
#12365F #5F1412 #5D5F12
monochromatic
#050F1A #08192C #12365F #1C5392 #2570C6

Accessibility & contrast

On white

12.22
#12365F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12365F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12365F#FFFFFF#000000##FFFFFF
##12365F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12365f;
/* rgb */ color: rgb(18, 54, 95);
/* oklch */ color: oklch(33.1% 0.083 254.0);
Tailwind
colors: {
  custom: {
    50: '#5d6c8d',
    500: '#12365f',
    950: '#000000',
  },
}
SCSS
$custom: #12365f;
$custom-light: #5d6c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#12365f",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 95
  },
  "hsl": {
    "h": 211.948,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.08338,
    "h": 254
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#12365F
secondary
#976A36
accent
#9A3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #12365F

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

Preview Lab → · Contrast checker → · Palette generator →

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