#3456B2#3456B2

#3456B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.152 H 265.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3456B2
RGBrgb(52, 86, 178)
HSLhsl(224, 55%, 45%)
HSVhsv(224, 71%, 70%)
CMYKcmyk(70.8%, 51.7%, 0%, 30.2%)
CIE-LABlab(38.90, 19.51, -52.63)
CIE-LCHlch(38.90, 56.13, 290.34°)
OKLaboklab(48.02% -0.0114 -0.1512)
OKLCHoklch(48.02% 0.152 265.7)
XYZxyz(12.7770, 10.5987, 43.4832)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3456B2 #B29034
analogous
#3495B2 #3456B2 #5134B2
triadic
#3456B2 #B23456 #56B234
tetradic
#3456B2 #B23495 #B29034 #34B251
square
#3456B2 #B23495 #B29034 #34B251
split-complementary
#3456B2 #B25134 #95B234
monochromatic
#182853 #263F83 #3456B2 #5676CE #859CDB

Accessibility & contrast

On white

6.73
#3456B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3456B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3456B2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3456B2#FFFFFF#000000##FFFFFF
##3456B21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3456b2;
/* rgb */ color: rgb(52, 86, 178);
/* oklch */ color: oklch(48.0% 0.152 265.7);
Tailwind
colors: {
  custom: {
    50: '#7b85ca',
    500: '#3456b2',
    950: '#000000',
  },
}
SCSS
$custom: #3456b2;
$custom-light: #7b85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3456b2",
  "rgb": {
    "r": 52,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 223.81,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48022,
    "c": 0.15168,
    "h": 265.7
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#3456B2
secondary
#C5B27D
accent
#B64ADE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3456B2

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

Preview Lab → · Contrast checker → · Palette generator →

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