#12356A#12356A

#12356A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.101 H 258.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#12356A
RGBrgb(18, 53, 106)
HSLhsl(216, 71%, 24%)
HSVhsv(216, 83%, 42%)
CMYKcmyk(83%, 50%, 0%, 58.4%)
CIE-LABlab(22.71, 8.85, -34.53)
CIE-LCHlch(22.71, 35.65, 284.37°)
OKLaboklab(33.64% -0.0196 -0.0992)
OKLCHoklch(33.64% 0.101 258.8)
XYZxyz(4.1231, 3.7149, 14.1326)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12356A #6A4712
analogous
#12616A #12356A #1B126A
triadic
#12356A #6A1235 #356A12
tetradic
#12356A #6A1261 #6A4712 #126A1B
square
#12356A #6A1261 #6A4712 #126A1B
split-complementary
#12356A #6A1B12 #616A12
monochromatic
#040D1A #091B36 #12356A #1B4F9E #2469D3

Accessibility & contrast

On white

12.05
#12356A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#12356A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12356A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12356A#FFFFFF#000000##FFFFFF
##12356A1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12356a;
/* rgb */ color: rgb(18, 53, 106);
/* oklch */ color: oklch(33.6% 0.101 258.8);
Tailwind
colors: {
  custom: {
    50: '#5f6b95',
    500: '#12356a',
    950: '#000000',
  },
}
SCSS
$custom: #12356a;
$custom-light: #5f6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#12356a",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 106
  },
  "hsl": {
    "h": 216.136,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33641,
    "c": 0.1011,
    "h": 258.8
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#12356A
secondary
#A27736
accent
#A63AEE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12356A

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

Preview Lab → · Contrast checker → · Palette generator →

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