#3454C2#3454C2

#3454C2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.176 H 267.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3454C2
RGBrgb(52, 84, 194)
HSLhsl(226, 58%, 48%)
HSVhsv(226, 73%, 76%)
CMYKcmyk(73.2%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.52, 26.75, -61.00)
CIE-LCHlch(39.52, 66.60, 293.68°)
OKLaboklab(48.86% -0.0086 -0.1759)
OKLCHoklch(48.86% 0.176 267.2)
XYZxyz(14.3207, 10.9642, 52.3901)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3454C2 #C2A234
analogous
#349BC2 #3454C2 #5B34C2
triadic
#3454C2 #C23454 #54C234
tetradic
#3454C2 #C2349B #C2A234 #34C25B
square
#3454C2 #C2349B #C2A234 #34C25B
split-complementary
#3454C2 #C25B34 #9BC234
monochromatic
#1A2A61 #273F92 #3454C2 #5F79D4 #8FA2E1

Accessibility & contrast

On white

6.58
#3454C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3454C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3454C2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3454C2#FFFFFF#000000##FFFFFF
##3454C21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3454c2;
/* rgb */ color: rgb(52, 84, 194);
/* oklch */ color: oklch(48.9% 0.176 267.2);
Tailwind
colors: {
  custom: {
    50: '#7f83d5',
    500: '#3454c2',
    950: '#000000',
  },
}
SCSS
$custom: #3454c2;
$custom-light: #7f83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3454c2",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 226.479,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.17609,
    "h": 267.2
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#3454C2
secondary
#CCBC86
accent
#BE47E1
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3454C2

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

Preview Lab → · Contrast checker → · Palette generator →

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