#12336F#12336F

#12336F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.111 H 261.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#12336F
RGBrgb(18, 51, 111)
HSLhsl(219, 72%, 25%)
HSVhsv(219, 84%, 44%)
CMYKcmyk(83.8%, 54.1%, 0%, 56.5%)
CIE-LABlab(22.46, 12.42, -38.15)
CIE-LCHlch(22.46, 40.13, 288.04°)
OKLaboklab(33.57% -0.0171 -0.1099)
OKLCHoklch(33.57% 0.111 261.2)
XYZxyz(4.3015, 3.6434, 15.5124)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12336F #6F4E12
analogous
#12616F #12336F #20126F
triadic
#12336F #6F1233 #336F12
tetradic
#12336F #6F1261 #6F4E12 #126F20
square
#12336F #6F1261 #6F4E12 #126F20
split-complementary
#12336F #6F2012 #616F12
monochromatic
#040C1A #091B3A #12336F #1B4BA4 #2363D8

Accessibility & contrast

On white

12.15
#12336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#12336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12336F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12336F#FFFFFF#000000##FFFFFF
##12336F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A71
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12336f;
/* rgb */ color: rgb(18, 51, 111);
/* oklch */ color: oklch(33.6% 0.111 261.2);
Tailwind
colors: {
  custom: {
    50: '#616a99',
    500: '#12336f',
    950: '#000000',
  },
}
SCSS
$custom: #12336f;
$custom-light: #616a99;
$custom-dark: #000000;
JSON
{
  "hex": "#12336f",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 218.71,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33569,
    "c": 0.11122,
    "h": 261.2
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12336F

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

Preview Lab → · Contrast checker → · Palette generator →

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