#12386E#12386E

#12386E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.103 H 258.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#12386E
RGBrgb(18, 56, 110)
HSLhsl(215, 72%, 25%)
HSVhsv(215, 84%, 43%)
CMYKcmyk(83.6%, 49.1%, 0%, 56.9%)
CIE-LABlab(23.94, 8.41, -35.12)
CIE-LCHlch(23.94, 36.11, 283.47°)
OKLaboklab(34.68% -0.0215 -0.1008)
OKLCHoklch(34.68% 0.103 258)
XYZxyz(4.4771, 4.0822, 15.3008)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12386E #6E4812
analogous
#12666E #12386E #1A126E
triadic
#12386E #6E1238 #386E12
tetradic
#12386E #6E1266 #6E4812 #126E1A
square
#12386E #6E1266 #6E4812 #126E1A
split-complementary
#12386E #6E1A12 #666E12
monochromatic
#040D1A #091D39 #12386E #1B53A3 #236ED7

Accessibility & contrast

On white

11.56
#12386E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12386E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12386E#FFFFFF#000000##FFFFFF
##12386E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #12386e;
/* rgb */ color: rgb(18, 56, 110);
/* oklch */ color: oklch(34.7% 0.103 258.0);
Tailwind
colors: {
  custom: {
    50: '#606e98',
    500: '#12386e',
    950: '#000000',
  },
}
SCSS
$custom: #12386e;
$custom-light: #606e98;
$custom-dark: #000000;
JSON
{
  "hex": "#12386e",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 215.217,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.1031,
    "h": 258
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#12386E
secondary
#A57837
accent
#A439EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #12386E

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

Preview Lab → · Contrast checker → · Palette generator →

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