#12396E#12396E

#12396E is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.9% C 0.102 H 257.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#12396E
RGBrgb(18, 57, 110)
HSLhsl(215, 72%, 25%)
HSVhsv(215, 84%, 43%)
CMYKcmyk(83.6%, 48.2%, 0%, 56.9%)
CIE-LABlab(24.26, 7.70, -34.61)
CIE-LCHlch(24.26, 35.45, 282.55°)
OKLaboklab(34.93% -0.0224 -0.0993)
OKLCHoklch(34.93% 0.102 257.3)
XYZxyz(4.5260, 4.1801, 15.3171)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12396E #6E4712
analogous
#12676E #12396E #19126E
triadic
#12396E #6E1239 #396E12
tetradic
#12396E #6E1267 #6E4712 #126E19
square
#12396E #6E1267 #6E4712 #126E19
split-complementary
#12396E #6E1912 #676E12
monochromatic
#040E1A #091E39 #12396E #1B54A3 #2370D7

Accessibility & contrast

On white

11.44
#12396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#12396E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12396E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12396E#FFFFFF#000000##FFFFFF
##12396E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E70
Deuteranopia (green-blind)
#06366D
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12396e;
/* rgb */ color: rgb(18, 57, 110);
/* oklch */ color: oklch(34.9% 0.102 257.3);
Tailwind
colors: {
  custom: {
    50: '#606e98',
    500: '#12396e',
    950: '#000000',
  },
}
SCSS
$custom: #12396e;
$custom-light: #606e98;
$custom-dark: #000000;
JSON
{
  "hex": "#12396e",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 214.565,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.10181,
    "h": 257.3
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#12396E
secondary
#A57637
accent
#A239EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #12396E

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

Preview Lab → · Contrast checker → · Palette generator →

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