#12336E#12336E

#12336E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.110 H 261.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#12336E
RGBrgb(18, 51, 110)
HSLhsl(218, 72%, 25%)
HSVhsv(218, 84%, 43%)
CMYKcmyk(83.6%, 53.6%, 0%, 56.9%)
CIE-LABlab(22.38, 12.00, -37.64)
CIE-LCHlch(22.38, 39.50, 287.68°)
OKLaboklab(33.49% -0.0172 -0.1084)
OKLCHoklch(33.49% 0.11 261)
XYZxyz(4.2467, 3.6215, 15.2240)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12336E #6E4D12
analogous
#12616E #12336E #1F126E
triadic
#12336E #6E1233 #336E12
tetradic
#12336E #6E1261 #6E4D12 #126E1F
square
#12336E #6E1261 #6E4D12 #126E1F
split-complementary
#12336E #6E1F12 #616E12
monochromatic
#040C1A #091B39 #12336E #1B4BA3 #2364D7

Accessibility & contrast

On white

12.18
#12336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12336E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12336E#FFFFFF#000000##FFFFFF
##12336E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A70
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12336e;
/* rgb */ color: rgb(18, 51, 110);
/* oklch */ color: oklch(33.5% 0.110 261.0);
Tailwind
colors: {
  custom: {
    50: '#616a98',
    500: '#12336e',
    950: '#000000',
  },
}
SCSS
$custom: #12336e;
$custom-light: #616a98;
$custom-dark: #000000;
JSON
{
  "hex": "#12336e",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 218.478,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.10973,
    "h": 261
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#12336E
secondary
#A57E37
accent
#AE39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #12336E

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

Preview Lab → · Contrast checker → · Palette generator →

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