#3354BB#3354BB

#3354BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.167 H 266.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3354BB
RGBrgb(51, 84, 187)
HSLhsl(225, 57%, 47%)
HSVhsv(225, 73%, 73%)
CMYKcmyk(72.7%, 55.1%, 0%, 26.7%)
CIE-LABlab(38.95, 24.03, -57.83)
CIE-LCHlch(38.95, 62.63, 292.56°)
OKLaboklab(48.26% -0.0099 -0.1666)
OKLCHoklch(48.26% 0.167 266.6)
XYZxyz(13.5021, 10.6309, 48.3445)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354BB #BB9A33
analogous
#3398BB #3354BB #5633BB
triadic
#3354BB #BB3354 #54BB33
tetradic
#3354BB #BB3398 #BB9A33 #33BB56
square
#3354BB #BB3398 #BB9A33 #33BB56
split-complementary
#3354BB #BB5633 #98BB33
monochromatic
#19295B #263E8B #3354BB #5977D2 #899EDF

Accessibility & contrast

On white

6.72
#3354BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3354BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354BB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354BB#FFFFFF#000000##FFFFFF
##3354BB1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3354bb;
/* rgb */ color: rgb(51, 84, 187);
/* oklch */ color: oklch(48.3% 0.167 266.6);
Tailwind
colors: {
  custom: {
    50: '#7d83d0',
    500: '#3354bb',
    950: '#000000',
  },
}
SCSS
$custom: #3354bb;
$custom-light: #7d83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3354bb",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 225.441,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.16689,
    "h": 266.6
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#3354BB
secondary
#C9B781
accent
#BB47E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3354BB

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

Preview Lab → · Contrast checker → · Palette generator →

#3354BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva