#12346C#12346C

#12346C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.105 H 260.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#12346C
RGBrgb(18, 52, 108)
HSLhsl(217, 71%, 25%)
HSVhsv(217, 83%, 42%)
CMYKcmyk(83.3%, 51.9%, 0%, 57.6%)
CIE-LABlab(22.54, 10.42, -36.09)
CIE-LCHlch(22.54, 37.56, 286.11°)
OKLaboklab(33.56% -0.0184 -0.1038)
OKLCHoklch(33.56% 0.105 260)
XYZxyz(4.1832, 3.6668, 14.6717)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12346C #6C4A12
analogous
#12616C #12346C #1D126C
triadic
#12346C #6C1234 #346C12
tetradic
#12346C #6C1261 #6C4A12 #126C1D
square
#12346C #6C1261 #6C4A12 #126C1D
split-complementary
#12346C #6C1D12 #616C12
monochromatic
#040D1A #091B38 #12346C #1B4DA0 #2367D5

Accessibility & contrast

On white

12.11
#12346C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#12346C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12346C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12346C#FFFFFF#000000##FFFFFF
##12346C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12346c;
/* rgb */ color: rgb(18, 52, 108);
/* oklch */ color: oklch(33.6% 0.105 260.0);
Tailwind
colors: {
  custom: {
    50: '#606a96',
    500: '#12346c',
    950: '#000000',
  },
}
SCSS
$custom: #12346c;
$custom-light: #606a96;
$custom-dark: #000000;
JSON
{
  "hex": "#12346c",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 108
  },
  "hsl": {
    "h": 217.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33559,
    "c": 0.10541,
    "h": 260
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#12346C
secondary
#A37A36
accent
#AA3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12346C

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

Preview Lab → · Contrast checker → · Palette generator →

#12346C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva