#12336D#12336D

#12336D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.108 H 260.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#12336D
RGBrgb(18, 51, 109)
HSLhsl(218, 72%, 25%)
HSVhsv(218, 83%, 43%)
CMYKcmyk(83.5%, 53.2%, 0%, 57.3%)
CIE-LABlab(22.30, 11.57, -37.12)
CIE-LCHlch(22.30, 38.88, 287.31°)
OKLaboklab(33.4% -0.0174 -0.1068)
OKLCHoklch(33.4% 0.108 260.8)
XYZxyz(4.1926, 3.5999, 14.9389)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12336D #6D4C12
analogous
#12606D #12336D #1F126D
triadic
#12336D #6D1233 #336D12
tetradic
#12336D #6D1260 #6D4C12 #126D1F
square
#12336D #6D1260 #6D4C12 #126D1F
split-complementary
#12336D #6D1F12 #606D12
monochromatic
#040C1A #091A38 #12336D #1B4CA2 #2364D6

Accessibility & contrast

On white

12.21
#12336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#12336D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12336D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12336D#FFFFFF#000000##FFFFFF
##12336D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A6F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12336d;
/* rgb */ color: rgb(18, 51, 109);
/* oklch */ color: oklch(33.4% 0.108 260.8);
Tailwind
colors: {
  custom: {
    50: '#606a97',
    500: '#12336d',
    950: '#000000',
  },
}
SCSS
$custom: #12336d;
$custom-light: #606a97;
$custom-dark: #000000;
JSON
{
  "hex": "#12336d",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 218.242,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33402,
    "c": 0.10824,
    "h": 260.8
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#12336D
secondary
#A47C37
accent
#AD39EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #12336D

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

Preview Lab → · Contrast checker → · Palette generator →

#12336D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva