#12346F#12346F

#12346F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.110 H 260.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#12346F
RGBrgb(18, 52, 111)
HSLhsl(218, 72%, 25%)
HSVhsv(218, 84%, 44%)
CMYKcmyk(83.8%, 53.2%, 0%, 56.5%)
CIE-LABlab(22.76, 11.70, -37.65)
CIE-LCHlch(22.76, 39.43, 287.26°)
OKLaboklab(33.8% -0.0179 -0.1084)
OKLCHoklch(33.8% 0.11 260.6)
XYZxyz(4.3456, 3.7318, 15.5271)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12346F #6F4D12
analogous
#12626F #12346F #1F126F
triadic
#12346F #6F1234 #346F12
tetradic
#12346F #6F1262 #6F4D12 #126F1F
square
#12346F #6F1262 #6F4D12 #126F1F
split-complementary
#12346F #6F1F12 #626F12
monochromatic
#040C1A #091B3A #12346F #1B4DA4 #2365D8

Accessibility & contrast

On white

12.02
#12346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#12346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12346F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12346F#FFFFFF#000000##FFFFFF
##12346F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12346f;
/* rgb */ color: rgb(18, 52, 111);
/* oklch */ color: oklch(33.8% 0.110 260.6);
Tailwind
colors: {
  custom: {
    50: '#616a99',
    500: '#12346f',
    950: '#000000',
  },
}
SCSS
$custom: #12346f;
$custom-light: #616a99;
$custom-dark: #000000;
JSON
{
  "hex": "#12346f",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 218.065,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33804,
    "c": 0.10988,
    "h": 260.6
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12346F

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

Preview Lab → · Contrast checker → · Palette generator →

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