#12386F#12386F

#12386F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.105 H 258.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#12386F
RGBrgb(18, 56, 111)
HSLhsl(215, 72%, 25%)
HSVhsv(215, 84%, 44%)
CMYKcmyk(83.8%, 49.5%, 0%, 56.5%)
CIE-LABlab(24.01, 8.84, -35.64)
CIE-LCHlch(24.01, 36.72, 283.93°)
OKLaboklab(34.76% -0.0213 -0.1024)
OKLCHoklch(34.76% 0.105 258.3)
XYZxyz(4.5318, 4.1041, 15.5892)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12386F #6F4912
analogous
#12666F #12386F #1B126F
triadic
#12386F #6F1238 #386F12
tetradic
#12386F #6F1266 #6F4912 #126F1B
square
#12386F #6F1266 #6F4912 #126F1B
split-complementary
#12386F #6F1B12 #666F12
monochromatic
#040D1A #091D3A #12386F #1B53A4 #236DD8

Accessibility & contrast

On white

11.53
#12386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#12386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12386F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12386F#FFFFFF#000000##FFFFFF
##12386F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12386f;
/* rgb */ color: rgb(18, 56, 111);
/* oklch */ color: oklch(34.8% 0.105 258.3);
Tailwind
colors: {
  custom: {
    50: '#616e99',
    500: '#12386f',
    950: '#000000',
  },
}
SCSS
$custom: #12386f;
$custom-light: #616e99;
$custom-dark: #000000;
JSON
{
  "hex": "#12386f",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 215.484,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34762,
    "c": 0.10458,
    "h": 258.3
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#12386F
secondary
#A67937
accent
#A539EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #12386F

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

Preview Lab → · Contrast checker → · Palette generator →

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