#3451B2#3451B2

#3451B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.158 H 267.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3451B2
RGBrgb(52, 81, 178)
HSLhsl(226, 55%, 45%)
HSVhsv(226, 71%, 70%)
CMYKcmyk(70.8%, 54.5%, 0%, 30.2%)
CIE-LABlab(37.53, 22.79, -54.84)
CIE-LCHlch(37.53, 59.39, 292.57°)
OKLaboklab(46.99% -0.0071 -0.1578)
OKLCHoklch(46.99% 0.158 267.4)
XYZxyz(12.3917, 9.8280, 43.3548)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3451B2 #B29534
analogous
#3490B2 #3451B2 #5634B2
triadic
#3451B2 #B23451 #51B234
tetradic
#3451B2 #B23490 #B29534 #34B256
square
#3451B2 #B23490 #B29534 #34B256
split-complementary
#3451B2 #B25634 #90B234
monochromatic
#182653 #263B83 #3451B2 #5671CE #8599DB

Accessibility & contrast

On white

7.08
#3451B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3451B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3451B2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3451B2#FFFFFF#000000##FFFFFF
##3451B21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3451b2;
/* rgb */ color: rgb(52, 81, 178);
/* oklch */ color: oklch(47.0% 0.158 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b81ca',
    500: '#3451b2',
    950: '#000000',
  },
}
SCSS
$custom: #3451b2;
$custom-light: #7b81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3451b2",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 226.19,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.15798,
    "h": 267.4
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#3451B2
secondary
#C5B47D
accent
#BC4ADE
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3451B2

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

Preview Lab → · Contrast checker → · Palette generator →

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