#12346A#12346A

#12346A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.102 H 259.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#12346A
RGBrgb(18, 52, 106)
HSLhsl(217, 71%, 24%)
HSVhsv(217, 83%, 42%)
CMYKcmyk(83%, 50.9%, 0%, 58.4%)
CIE-LABlab(22.39, 9.57, -35.04)
CIE-LCHlch(22.39, 36.32, 285.27°)
OKLaboklab(33.4% -0.0187 -0.1007)
OKLCHoklch(33.4% 0.102 259.5)
XYZxyz(4.0780, 3.6247, 14.1176)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12346A #6A4812
analogous
#12606A #12346A #1C126A
triadic
#12346A #6A1234 #346A12
tetradic
#12346A #6A1260 #6A4812 #126A1C
square
#12346A #6A1260 #6A4812 #126A1C
split-complementary
#12346A #6A1C12 #606A12
monochromatic
#040D1A #091A36 #12346A #1B4E9E #2467D3

Accessibility & contrast

On white

12.17
#12346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12346A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12346A#FFFFFF#000000##FFFFFF
##12346A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12346a;
/* rgb */ color: rgb(18, 52, 106);
/* oklch */ color: oklch(33.4% 0.102 259.5);
Tailwind
colors: {
  custom: {
    50: '#5f6a95',
    500: '#12346a',
    950: '#000000',
  },
}
SCSS
$custom: #12346a;
$custom-light: #5f6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#12346a",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 216.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33398,
    "c": 0.10243,
    "h": 259.5
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#12346A
secondary
#A27836
accent
#A83AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12346A

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

Preview Lab → · Contrast checker → · Palette generator →

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