#3456C4#3456C4

#3456C4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.176 H 266.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3456C4
RGBrgb(52, 86, 196)
HSLhsl(226, 58%, 49%)
HSVhsv(226, 73%, 77%)
CMYKcmyk(73.5%, 56.1%, 0%, 23.1%)
CIE-LABlab(40.20, 26.19, -61.06)
CIE-LCHlch(40.20, 66.44, 293.21°)
OKLaboklab(49.42% -0.01 -0.176)
OKLCHoklch(49.42% 0.176 266.7)
XYZxyz(14.7043, 11.3696, 53.6335)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3456C4 #C4A234
analogous
#349EC4 #3456C4 #5A34C4
triadic
#3456C4 #C43456 #56C434
tetradic
#3456C4 #C4349E #C4A234 #34C45A
square
#3456C4 #C4349E #C4A234 #34C45A
split-complementary
#3456C4 #C45A34 #9EC434
monochromatic
#1A2C63 #274194 #3456C4 #607CD5 #91A4E2

Accessibility & contrast

On white

6.41
#3456C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3456C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3456C4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3456C4#FFFFFF#000000##FFFFFF
##3456C41.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3456c4;
/* rgb */ color: rgb(52, 86, 196);
/* oklch */ color: oklch(49.4% 0.176 266.7);
Tailwind
colors: {
  custom: {
    50: '#7f85d7',
    500: '#3456c4',
    950: '#000000',
  },
}
SCSS
$custom: #3456c4;
$custom-light: #7f85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3456c4",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 225.833,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.17633,
    "h": 266.7
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#3456C4
secondary
#CCBC87
accent
#BD47E1
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3456C4

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

Preview Lab → · Contrast checker → · Palette generator →

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