#3451BA#3451BA

#3451BA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.169 H 267.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3451BA
RGBrgb(52, 81, 186)
HSLhsl(227, 56%, 47%)
HSVhsv(227, 72%, 73%)
CMYKcmyk(72%, 56.5%, 0%, 27.1%)
CIE-LABlab(38.13, 25.75, -58.59)
CIE-LCHlch(38.13, 64.00, 293.73°)
OKLaboklab(47.62% -0.0067 -0.1688)
OKLCHoklch(47.62% 0.169 267.7)
XYZxyz(13.2185, 10.1587, 47.7090)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3451BA #BA9D34
analogous
#3494BA #3451BA #5A34BA
triadic
#3451BA #BA3451 #51BA34
tetradic
#3451BA #BA3494 #BA9D34 #34BA5A
square
#3451BA #BA3494 #BA9D34 #34BA5A
split-complementary
#3451BA #BA5A34 #94BA34
monochromatic
#19275A #273C8A #3451BA #5A74D1 #8A9CDE

Accessibility & contrast

On white

6.93
#3451BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3451BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3451BA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3451BA#FFFFFF#000000##FFFFFF
##3451BA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3451ba;
/* rgb */ color: rgb(52, 81, 186);
/* oklch */ color: oklch(47.6% 0.169 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d81d0',
    500: '#3451ba',
    950: '#000000',
  },
}
SCSS
$custom: #3451ba;
$custom-light: #7d81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3451ba",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 227.015,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.16897,
    "h": 267.7
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#3451BA
secondary
#C8B981
accent
#BF48E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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