#12386C#12386C

#12386C is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.5% C 0.100 H 257.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#12386C
RGBrgb(18, 56, 108)
HSLhsl(215, 71%, 25%)
HSVhsv(215, 83%, 42%)
CMYKcmyk(83.3%, 48.1%, 0%, 57.6%)
CIE-LABlab(23.80, 7.56, -34.06)
CIE-LCHlch(23.80, 34.89, 282.52°)
OKLaboklab(34.53% -0.0219 -0.0977)
OKLCHoklch(34.53% 0.1 257.4)
XYZxyz(4.3694, 4.0391, 14.7338)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12386C #6C4612
analogous
#12656C #12386C #19126C
triadic
#12386C #6C1238 #386C12
tetradic
#12386C #6C1265 #6C4612 #126C19
square
#12386C #6C1265 #6C4612 #126C19
split-complementary
#12386C #6C1912 #656C12
monochromatic
#040E1A #091D38 #12386C #1B53A0 #236ED5

Accessibility & contrast

On white

11.62
#12386C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#12386C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12386C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12386C#FFFFFF#000000##FFFFFF
##12386C1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12386c;
/* rgb */ color: rgb(18, 56, 108);
/* oklch */ color: oklch(34.5% 0.100 257.4);
Tailwind
colors: {
  custom: {
    50: '#606e96',
    500: '#12386c',
    950: '#000000',
  },
}
SCSS
$custom: #12386c;
$custom-light: #606e96;
$custom-dark: #000000;
JSON
{
  "hex": "#12386c",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 214.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.10015,
    "h": 257.4
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#12386C
secondary
#A37536
accent
#A23AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #12386C

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

Preview Lab → · Contrast checker → · Palette generator →

#12386C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva