#3451BC#3451BC

#3451BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.172 H 267.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3451BC
RGBrgb(52, 81, 188)
HSLhsl(227, 57%, 47%)
HSVhsv(227, 72%, 74%)
CMYKcmyk(72.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(38.28, 26.49, -59.51)
CIE-LCHlch(38.28, 65.14, 293.99°)
OKLaboklab(47.79% -0.0066 -0.1716)
OKLCHoklch(47.79% 0.172 267.8)
XYZxyz(13.4326, 10.2444, 48.8366)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3451BC #BC9F34
analogous
#3495BC #3451BC #5B34BC
triadic
#3451BC #BC3451 #51BC34
tetradic
#3451BC #BC3495 #BC9F34 #34BC5B
square
#3451BC #BC3495 #BC9F34 #34BC5B
split-complementary
#3451BC #BC5B34 #95BC34
monochromatic
#19285C #273C8C #3451BC #5B75D2 #8B9DDF

Accessibility & contrast

On white

6.89
#3451BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3451BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3451BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3451BC#FFFFFF#000000##FFFFFF
##3451BC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3451bc;
/* rgb */ color: rgb(52, 81, 188);
/* oklch */ color: oklch(47.8% 0.172 267.8);
Tailwind
colors: {
  custom: {
    50: '#7e81d1',
    500: '#3451bc',
    950: '#000000',
  },
}
SCSS
$custom: #3451bc;
$custom-light: #7e81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3451bc",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 227.206,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47786,
    "c": 0.17169,
    "h": 267.8
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#3451BC
secondary
#C9BA83
accent
#C048E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3451BC

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

Preview Lab → · Contrast checker → · Palette generator →

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