#3451C2#3451C2

#3451C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.180 H 268.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3451C2
RGBrgb(52, 81, 194)
HSLhsl(228, 58%, 48%)
HSVhsv(228, 73%, 76%)
CMYKcmyk(73.2%, 58.2%, 0%, 23.9%)
CIE-LABlab(38.74, 28.69, -62.27)
CIE-LCHlch(38.74, 68.56, 294.74°)
OKLaboklab(48.28% -0.0064 -0.1796)
OKLCHoklch(48.28% 0.18 268)
XYZxyz(14.0928, 10.5085, 52.3141)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3451C2 #C2A534
analogous
#3498C2 #3451C2 #5E34C2
triadic
#3451C2 #C23451 #51C234
tetradic
#3451C2 #C23498 #C2A534 #34C25E
square
#3451C2 #C23498 #C2A534 #34C25E
split-complementary
#3451C2 #C25E34 #98C234
monochromatic
#1A2961 #273D92 #3451C2 #5F77D4 #8FA0E1

Accessibility & contrast

On white

6.77
#3451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3451C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3451C2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3451C2#FFFFFF#000000##FFFFFF
##3451C21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3451c2;
/* rgb */ color: rgb(52, 81, 194);
/* oklch */ color: oklch(48.3% 0.180 268.0);
Tailwind
colors: {
  custom: {
    50: '#7f81d5',
    500: '#3451c2',
    950: '#000000',
  },
}
SCSS
$custom: #3451c2;
$custom-light: #7f81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3451c2",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 227.746,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.17976,
    "h": 268
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#3451C2
secondary
#CCBD86
accent
#C147E1
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3451C2

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

Preview Lab → · Contrast checker → · Palette generator →

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