#12356F#12356F

#12356F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.109 H 260.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#12356F
RGBrgb(18, 53, 111)
HSLhsl(217, 72%, 25%)
HSVhsv(217, 84%, 44%)
CMYKcmyk(83.8%, 52.3%, 0%, 56.5%)
CIE-LABlab(23.07, 10.98, -37.15)
CIE-LCHlch(23.07, 38.74, 286.47°)
OKLaboklab(34.04% -0.0187 -0.1069)
OKLCHoklch(34.04% 0.109 260.1)
XYZxyz(4.3908, 3.8220, 15.5421)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12356F #6F4C12
analogous
#12646F #12356F #1D126F
triadic
#12356F #6F1235 #356F12
tetradic
#12356F #6F1264 #6F4C12 #126F1D
square
#12356F #6F1264 #6F4C12 #126F1D
split-complementary
#12356F #6F1D12 #646F12
monochromatic
#040D1A #091C3A #12356F #1B4EA4 #2367D8

Accessibility & contrast

On white

11.90
#12356F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#12356F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12356F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12356F#FFFFFF#000000##FFFFFF
##12356F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12356f;
/* rgb */ color: rgb(18, 53, 111);
/* oklch */ color: oklch(34.0% 0.109 260.1);
Tailwind
colors: {
  custom: {
    50: '#616b99',
    500: '#12356f',
    950: '#000000',
  },
}
SCSS
$custom: #12356f;
$custom-light: #616b99;
$custom-dark: #000000;
JSON
{
  "hex": "#12356f",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 111
  },
  "hsl": {
    "h": 217.419,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.10854,
    "h": 260.1
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#12356F
secondary
#A67C37
accent
#AA39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #12356F

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

Preview Lab → · Contrast checker → · Palette generator →

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