#12346E#12346E

#12346E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.108 H 260.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#12346E
RGBrgb(18, 52, 110)
HSLhsl(218, 72%, 25%)
HSVhsv(218, 84%, 43%)
CMYKcmyk(83.6%, 52.7%, 0%, 56.9%)
CIE-LABlab(22.69, 11.28, -37.14)
CIE-LCHlch(22.69, 38.81, 286.89°)
OKLaboklab(33.72% -0.0181 -0.1069)
OKLCHoklch(33.72% 0.108 260.4)
XYZxyz(4.2909, 3.7099, 15.2388)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12346E #6E4C12
analogous
#12626E #12346E #1E126E
triadic
#12346E #6E1234 #346E12
tetradic
#12346E #6E1262 #6E4C12 #126E1E
square
#12346E #6E1262 #6E4C12 #126E1E
split-complementary
#12346E #6E1E12 #626E12
monochromatic
#040C1A #091B39 #12346E #1B4DA3 #2366D7

Accessibility & contrast

On white

12.06
#12346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#12346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12346E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12346E#FFFFFF#000000##FFFFFF
##12346E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12346e;
/* rgb */ color: rgb(18, 52, 110);
/* oklch */ color: oklch(33.7% 0.108 260.4);
Tailwind
colors: {
  custom: {
    50: '#616a98',
    500: '#12346e',
    950: '#000000',
  },
}
SCSS
$custom: #12346e;
$custom-light: #616a98;
$custom-dark: #000000;
JSON
{
  "hex": "#12346e",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 217.826,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33722,
    "c": 0.1084,
    "h": 260.4
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#12346E
secondary
#A57C37
accent
#AC39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #12346E

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

Preview Lab → · Contrast checker → · Palette generator →

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