#3456C5#3456C5

#3456C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.178 H 266.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3456C5
RGBrgb(52, 86, 197)
HSLhsl(226, 58%, 49%)
HSVhsv(226, 74%, 77%)
CMYKcmyk(73.6%, 56.3%, 0%, 22.7%)
CIE-LABlab(40.27, 26.56, -61.52)
CIE-LCHlch(40.27, 67.01, 293.35°)
OKLaboklab(49.5% -0.01 -0.1774)
OKLCHoklch(49.5% 0.178 266.8)
XYZxyz(14.8185, 11.4153, 54.2349)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3456C5 #C5A334
analogous
#349FC5 #3456C5 #5B34C5
triadic
#3456C5 #C53456 #56C534
tetradic
#3456C5 #C5349F #C5A334 #34C55B
square
#3456C5 #C5349F #C5A334 #34C55B
split-complementary
#3456C5 #C55B34 #9FC534
monochromatic
#1A2C64 #274195 #3456C5 #617CD5 #91A4E2

Accessibility & contrast

On white

6.40
#3456C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3456C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3456C5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3456C5#FFFFFF#000000##FFFFFF
##3456C51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3456c5;
/* rgb */ color: rgb(52, 86, 197);
/* oklch */ color: oklch(49.5% 0.178 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f85d7',
    500: '#3456c5',
    950: '#000000',
  },
}
SCSS
$custom: #3456c5;
$custom-light: #7f85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3456c5",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 225.931,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49496,
    "c": 0.17767,
    "h": 266.8
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#3456C5
secondary
#CDBD88
accent
#BD46E1
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3456C5

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

Preview Lab → · Contrast checker → · Palette generator →

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