#12386A#12386A

#12386A is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.4% C 0.097 H 256.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#12386A
RGBrgb(18, 56, 106)
HSLhsl(214, 71%, 24%)
HSVhsv(214, 83%, 42%)
CMYKcmyk(83%, 47.2%, 0%, 58.4%)
CIE-LABlab(23.66, 6.71, -32.99)
CIE-LCHlch(23.66, 33.67, 281.50°)
OKLaboklab(34.38% -0.0223 -0.0946)
OKLCHoklch(34.38% 0.097 256.7)
XYZxyz(4.2642, 3.9970, 14.1796)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12386A #6A4412
analogous
#12646A #12386A #18126A
triadic
#12386A #6A1238 #386A12
tetradic
#12386A #6A1264 #6A4412 #126A18
square
#12386A #6A1264 #6A4412 #126A18
split-complementary
#12386A #6A1812 #646A12
monochromatic
#040E1A #091C36 #12386A #1B549E #246FD3

Accessibility & contrast

On white

11.67
#12386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#12386A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12386A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12386A#FFFFFF#000000##FFFFFF
##12386A1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6C
Deuteranopia (green-blind)
#0B3569
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #12386a;
/* rgb */ color: rgb(18, 56, 106);
/* oklch */ color: oklch(34.4% 0.097 256.7);
Tailwind
colors: {
  custom: {
    50: '#5f6e95',
    500: '#12386a',
    950: '#000000',
  },
}
SCSS
$custom: #12386a;
$custom-light: #5f6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#12386a",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 214.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34378,
    "c": 0.09719,
    "h": 256.7
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#12386A
secondary
#A27336
accent
#A03AEE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #12386A

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

Preview Lab → · Contrast checker → · Palette generator →

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