#12356C#12356C

#12356C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.8% C 0.104 H 259.4°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#12356C
RGBrgb(18, 53, 108)
HSLhsl(217, 71%, 25%)
HSVhsv(217, 83%, 42%)
CMYKcmyk(83.3%, 50.9%, 0%, 57.6%)
CIE-LABlab(22.85, 9.70, -35.58)
CIE-LCHlch(22.85, 36.88, 285.25°)
OKLaboklab(33.8% -0.0192 -0.1023)
OKLCHoklch(33.8% 0.104 259.4)
XYZxyz(4.2283, 3.7570, 14.6868)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12356C #6C4912
analogous
#12626C #12356C #1C126C
triadic
#12356C #6C1235 #356C12
tetradic
#12356C #6C1262 #6C4912 #126C1C
square
#12356C #6C1262 #6C4912 #126C1C
split-complementary
#12356C #6C1C12 #626C12
monochromatic
#040D1A #091B38 #12356C #1B4FA0 #2368D5

Accessibility & contrast

On white

11.99
#12356C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#12356C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12356C
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12356C#FFFFFF#000000##FFFFFF
##12356C1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12356c;
/* rgb */ color: rgb(18, 53, 108);
/* oklch */ color: oklch(33.8% 0.104 259.4);
Tailwind
colors: {
  custom: {
    50: '#606b96',
    500: '#12356c',
    950: '#000000',
  },
}
SCSS
$custom: #12356c;
$custom-light: #606b96;
$custom-dark: #000000;
JSON
{
  "hex": "#12356c",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 108
  },
  "hsl": {
    "h": 216.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33799,
    "c": 0.10408,
    "h": 259.4
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#12356C
secondary
#A37936
accent
#A83AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12356C

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

Preview Lab → · Contrast checker → · Palette generator →

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