#3451C5#3451C5

#3451C5 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.184 H 268.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3451C5
RGBrgb(52, 81, 197)
HSLhsl(228, 58%, 49%)
HSVhsv(228, 74%, 77%)
CMYKcmyk(73.6%, 58.9%, 0%, 22.7%)
CIE-LABlab(38.98, 29.79, -63.63)
CIE-LCHlch(38.98, 70.26, 295.09°)
OKLaboklab(48.53% -0.0063 -0.1836)
OKLCHoklch(48.53% 0.184 268)
XYZxyz(14.4332, 10.6446, 54.1065)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3451C5 #C5A834
analogous
#349AC5 #3451C5 #6034C5
triadic
#3451C5 #C53451 #51C534
tetradic
#3451C5 #C5349A #C5A834 #34C560
square
#3451C5 #C5349A #C5A834 #34C560
split-complementary
#3451C5 #C56034 #9AC534
monochromatic
#1A2964 #273D95 #3451C5 #6178D5 #91A1E2

Accessibility & contrast

On white

6.71
#3451C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3451C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3451C5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3451C5#FFFFFF#000000##FFFFFF
##3451C51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3451c5;
/* rgb */ color: rgb(52, 81, 197);
/* oklch */ color: oklch(48.5% 0.184 268.0);
Tailwind
colors: {
  custom: {
    50: '#8081d7',
    500: '#3451c5',
    950: '#000000',
  },
}
SCSS
$custom: #3451c5;
$custom-light: #8081d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3451c5",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 228,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.18376,
    "h": 268
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#3451C5
secondary
#CDBF88
accent
#C246E1
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3451C5

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

Preview Lab → · Contrast checker → · Palette generator →

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