#3451C4#3451C4

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

Color values

HEX#3451C4
RGBrgb(52, 81, 196)
HSLhsl(228, 58%, 49%)
HSVhsv(228, 73%, 77%)
CMYKcmyk(73.5%, 58.7%, 0%, 23.1%)
CIE-LABlab(38.90, 29.43, -63.18)
CIE-LCHlch(38.90, 69.69, 294.98°)
OKLaboklab(48.44% -0.0063 -0.1823)
OKLCHoklch(48.44% 0.182 268)
XYZxyz(14.3190, 10.5989, 53.5050)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3451C4 #C4A734
analogous
#3499C4 #3451C4 #5F34C4
triadic
#3451C4 #C43451 #51C434
tetradic
#3451C4 #C43499 #C4A734 #34C45F
square
#3451C4 #C43499 #C4A734 #34C45F
split-complementary
#3451C4 #C45F34 #99C434
monochromatic
#1A2963 #273D94 #3451C4 #6078D5 #91A1E2

Accessibility & contrast

On white

6.73
#3451C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3451C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3451C4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3451C4#FFFFFF#000000##FFFFFF
##3451C41.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)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3451c4;
/* rgb */ color: rgb(52, 81, 196);
/* oklch */ color: oklch(48.4% 0.182 268.0);
Tailwind
colors: {
  custom: {
    50: '#7f81d7',
    500: '#3451c4',
    950: '#000000',
  },
}
SCSS
$custom: #3451c4;
$custom-light: #7f81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3451c4",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 227.917,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.18243,
    "h": 268
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#3451C4
secondary
#CCBF87
accent
#C247E1
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3451C4

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

Preview Lab → · Contrast checker → · Palette generator →

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