#12356E#12356E

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

Color values

HEX#12356E
RGBrgb(18, 53, 110)
HSLhsl(217, 72%, 25%)
HSVhsv(217, 84%, 43%)
CMYKcmyk(83.6%, 51.8%, 0%, 56.9%)
CIE-LABlab(23.00, 10.56, -36.63)
CIE-LCHlch(23.00, 38.12, 286.08°)
OKLaboklab(33.96% -0.0189 -0.1054)
OKLCHoklch(33.96% 0.107 259.8)
XYZxyz(4.3360, 3.8001, 15.2538)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12356E #6E4B12
analogous
#12636E #12356E #1D126E
triadic
#12356E #6E1235 #356E12
tetradic
#12356E #6E1263 #6E4B12 #126E1D
square
#12356E #6E1263 #6E4B12 #126E1D
split-complementary
#12356E #6E1D12 #636E12
monochromatic
#040D1A #091C39 #12356E #1B4EA3 #2368D7

Accessibility & contrast

On white

11.93
#12356E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12356E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12356E#FFFFFF#000000##FFFFFF
##12356E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12356e;
/* rgb */ color: rgb(18, 53, 110);
/* oklch */ color: oklch(34.0% 0.107 259.8);
Tailwind
colors: {
  custom: {
    50: '#616b98',
    500: '#12356e',
    950: '#000000',
  },
}
SCSS
$custom: #12356e;
$custom-light: #616b98;
$custom-dark: #000000;
JSON
{
  "hex": "#12356e",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 110
  },
  "hsl": {
    "h": 217.174,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.10706,
    "h": 259.8
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12356E

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

Preview Lab → · Contrast checker → · Palette generator →

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