#12396F#12396F

#12396F is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 35.0% C 0.103 H 257.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#12396F
RGBrgb(18, 57, 111)
HSLhsl(215, 72%, 25%)
HSVhsv(215, 84%, 44%)
CMYKcmyk(83.8%, 48.6%, 0%, 56.5%)
CIE-LABlab(24.33, 8.13, -35.13)
CIE-LCHlch(24.33, 36.06, 283.03°)
OKLaboklab(35% -0.0222 -0.1009)
OKLCHoklch(35% 0.103 257.6)
XYZxyz(4.5808, 4.2020, 15.6055)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12396F #6F4812
analogous
#12676F #12396F #1A126F
triadic
#12396F #6F1239 #396F12
tetradic
#12396F #6F1267 #6F4812 #126F1A
square
#12396F #6F1267 #6F4812 #126F1A
split-complementary
#12396F #6F1A12 #676F12
monochromatic
#040E1A #091E3A #12396F #1B54A4 #236FD8

Accessibility & contrast

On white

11.41
#12396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12396F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12396F#FFFFFF#000000##FFFFFF
##12396F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12396f;
/* rgb */ color: rgb(18, 57, 111);
/* oklch */ color: oklch(35.0% 0.103 257.6);
Tailwind
colors: {
  custom: {
    50: '#616e99',
    500: '#12396f',
    950: '#000000',
  },
}
SCSS
$custom: #12396f;
$custom-light: #616e99;
$custom-dark: #000000;
JSON
{
  "hex": "#12396f",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 214.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35005,
    "c": 0.10329,
    "h": 257.6
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#12396F
secondary
#A67737
accent
#A339EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #12396F

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

Preview Lab → · Contrast checker → · Palette generator →

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