#3354BA#3354BA

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

Color values

HEX#3354BA
RGBrgb(51, 84, 186)
HSLhsl(225, 57%, 46%)
HSVhsv(225, 73%, 73%)
CMYKcmyk(72.6%, 54.8%, 0%, 27.1%)
CIE-LABlab(38.88, 23.66, -57.37)
CIE-LCHlch(38.88, 62.05, 292.41°)
OKLaboklab(48.18% -0.0099 -0.1652)
OKLCHoklch(48.18% 0.166 266.6)
XYZxyz(13.3954, 10.5882, 47.7826)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354BA #BA9933
analogous
#3398BA #3354BA #5633BA
triadic
#3354BA #BA3354 #54BA33
tetradic
#3354BA #BA3398 #BA9933 #33BA56
square
#3354BA #BA3398 #BA9933 #33BA56
split-complementary
#3354BA #BA5633 #98BA33
monochromatic
#19295A #263E8A #3354BA #5976D1 #899EDF

Accessibility & contrast

On white

6.74
#3354BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3354BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354BA#FFFFFF#000000##FFFFFF
##3354BA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3354ba;
/* rgb */ color: rgb(51, 84, 186);
/* oklch */ color: oklch(48.2% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#7d83cf',
    500: '#3354ba',
    950: '#000000',
  },
}
SCSS
$custom: #3354ba;
$custom-light: #7d83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3354ba",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 225.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.16553,
    "h": 266.6
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#3354BA
secondary
#C9B780
accent
#BB48E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3354BA

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

Preview Lab → · Contrast checker → · Palette generator →

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