#3456C2#3456C2

#3456C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.174 H 266.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3456C2
RGBrgb(52, 86, 194)
HSLhsl(226, 58%, 48%)
HSVhsv(226, 73%, 76%)
CMYKcmyk(73.2%, 55.7%, 0%, 23.9%)
CIE-LABlab(40.05, 25.45, -60.14)
CIE-LCHlch(40.05, 65.30, 292.94°)
OKLaboklab(49.26% -0.0101 -0.1733)
OKLCHoklch(49.26% 0.174 266.7)
XYZxyz(14.4782, 11.2791, 52.4425)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3456C2 #C2A034
analogous
#349DC2 #3456C2 #5934C2
triadic
#3456C2 #C23456 #56C234
tetradic
#3456C2 #C2349D #C2A034 #34C259
square
#3456C2 #C2349D #C2A034 #34C259
split-complementary
#3456C2 #C25934 #9DC234
monochromatic
#1A2B61 #274192 #3456C2 #5F7BD4 #8FA3E1

Accessibility & contrast

On white

6.45
#3456C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3456C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3456C2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3456C2#FFFFFF#000000##FFFFFF
##3456C21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3456c2;
/* rgb */ color: rgb(52, 86, 194);
/* oklch */ color: oklch(49.3% 0.174 266.7);
Tailwind
colors: {
  custom: {
    50: '#7f85d5',
    500: '#3456c2',
    950: '#000000',
  },
}
SCSS
$custom: #3456c2;
$custom-light: #7f85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3456c2",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 225.634,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.17363,
    "h": 266.7
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#3456C2
secondary
#CCBB86
accent
#BC47E1
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3456C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3456C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva