#3451BD#3451BD

#3451BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.173 H 267.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3451BD
RGBrgb(52, 81, 189)
HSLhsl(227, 57%, 47%)
HSVhsv(227, 72%, 74%)
CMYKcmyk(72.5%, 57.1%, 0%, 25.9%)
CIE-LABlab(38.35, 26.86, -59.97)
CIE-LCHlch(38.35, 65.71, 294.12°)
OKLaboklab(47.87% -0.0065 -0.1729)
OKLCHoklch(47.87% 0.173 267.8)
XYZxyz(13.5407, 10.2876, 49.4063)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3451BD #BDA034
analogous
#3496BD #3451BD #5B34BD
triadic
#3451BD #BD3451 #51BD34
tetradic
#3451BD #BD3496 #BDA034 #34BD5B
square
#3451BD #BD3496 #BDA034 #34BD5B
split-complementary
#3451BD #BD5B34 #96BD34
monochromatic
#1A285D #273C8D #3451BD #5C75D2 #8C9EDF

Accessibility & contrast

On white

6.87
#3451BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3451BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3451BD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3451BD#FFFFFF#000000##FFFFFF
##3451BD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3451bd;
/* rgb */ color: rgb(52, 81, 189);
/* oklch */ color: oklch(47.9% 0.173 267.8);
Tailwind
colors: {
  custom: {
    50: '#7e81d2',
    500: '#3451bd',
    950: '#000000',
  },
}
SCSS
$custom: #3451bd;
$custom-light: #7e81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3451bd",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 227.299,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47867,
    "c": 0.17304,
    "h": 267.8
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#3451BD
secondary
#CABB83
accent
#C048E0
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3451BD

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

Preview Lab → · Contrast checker → · Palette generator →

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