#12336A#12336A

#12336A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.104 H 260.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#12336A
RGBrgb(18, 51, 106)
HSLhsl(218, 71%, 24%)
HSVhsv(218, 83%, 42%)
CMYKcmyk(83%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.08, 10.29, -35.54)
CIE-LCHlch(22.08, 37.00, 286.14°)
OKLaboklab(33.16% -0.0178 -0.1022)
OKLCHoklch(33.16% 0.104 260.1)
XYZxyz(4.0339, 3.5364, 14.1029)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12336A #6A4912
analogous
#125F6A #12336A #1D126A
triadic
#12336A #6A1233 #336A12
tetradic
#12336A #6A125F #6A4912 #126A1D
square
#12336A #6A125F #6A4912 #126A1D
split-complementary
#12336A #6A1D12 #5F6A12
monochromatic
#040D1A #091A36 #12336A #1B4C9E #2465D3

Accessibility & contrast

On white

12.30
#12336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#12336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12336A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12336A#FFFFFF#000000##FFFFFF
##12336A1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12336a;
/* rgb */ color: rgb(18, 51, 106);
/* oklch */ color: oklch(33.2% 0.104 260.1);
Tailwind
colors: {
  custom: {
    50: '#606a95',
    500: '#12336a',
    950: '#000000',
  },
}
SCSS
$custom: #12336a;
$custom-light: #606a95;
$custom-dark: #000000;
JSON
{
  "hex": "#12336a",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 217.5,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33156,
    "c": 0.10376,
    "h": 260.1
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#12336A
secondary
#A27936
accent
#AA3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12336A

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

Preview Lab → · Contrast checker → · Palette generator →

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