#3354B8#3354B8

#3354B8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.163 H 266.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3354B8
RGBrgb(51, 84, 184)
HSLhsl(225, 57%, 46%)
HSVhsv(225, 72%, 72%)
CMYKcmyk(72.3%, 54.3%, 0%, 27.8%)
CIE-LABlab(38.73, 22.91, -56.43)
CIE-LCHlch(38.73, 60.91, 292.10°)
OKLaboklab(48.02% -0.0101 -0.1625)
OKLCHoklch(48.02% 0.163 266.4)
XYZxyz(13.1843, 10.5038, 46.6707)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354B8 #B89733
analogous
#3396B8 #3354B8 #5433B8
triadic
#3354B8 #B83354 #54B833
tetradic
#3354B8 #B83396 #B89733 #33B854
square
#3354B8 #B83396 #B89733 #33B854
split-complementary
#3354B8 #B85433 #96B833
monochromatic
#182858 #263E88 #3354B8 #5876D1 #889DDE

Accessibility & contrast

On white

6.77
#3354B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3354B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354B8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354B8#FFFFFF#000000##FFFFFF
##3354B81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0162BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3354b8;
/* rgb */ color: rgb(51, 84, 184);
/* oklch */ color: oklch(48.0% 0.163 266.4);
Tailwind
colors: {
  custom: {
    50: '#7c83ce',
    500: '#3354b8',
    950: '#000000',
  },
}
SCSS
$custom: #3354b8;
$custom-light: #7c83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3354b8",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 184
  },
  "hsl": {
    "h": 225.113,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.16278,
    "h": 266.4
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#3354B8
secondary
#C8B67F
accent
#BA48E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3354B8

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

Preview Lab → · Contrast checker → · Palette generator →

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