#3354C9#3354C9

#3354C9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.186 H 267.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3354C9
RGBrgb(51, 84, 201)
HSLhsl(227, 60%, 49%)
HSVhsv(227, 75%, 79%)
CMYKcmyk(74.6%, 58.2%, 0%, 21.2%)
CIE-LABlab(40.01, 29.20, -64.26)
CIE-LCHlch(40.01, 70.58, 294.44°)
OKLaboklab(49.39% -0.0092 -0.1855)
OKLCHoklch(49.39% 0.186 267.2)
XYZxyz(15.0745, 11.2599, 56.6259)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354C9 #C9A833
analogous
#339FC9 #3354C9 #5D33C9
triadic
#3354C9 #C93354 #54C933
tetradic
#3354C9 #C9339F #C9A833 #33C95D
square
#3354C9 #C9339F #C9A833 #33C95D
split-complementary
#3354C9 #C95D33 #9FC933
monochromatic
#1A2B67 #274098 #3354C9 #627CD7 #93A5E4

Accessibility & contrast

On white

6.46
#3354C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3354C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354C9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354C9#FFFFFF#000000##FFFFFF
##3354C91.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3354c9;
/* rgb */ color: rgb(51, 84, 201);
/* oklch */ color: oklch(49.4% 0.186 267.2);
Tailwind
colors: {
  custom: {
    50: '#8083da',
    500: '#3354c9',
    950: '#000000',
  },
}
SCSS
$custom: #3354c9;
$custom-light: #8083da;
$custom-dark: #000000;
JSON
{
  "hex": "#3354c9",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 226.8,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.18571,
    "h": 267.2
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#3354C9
secondary
#CFBF89
accent
#C045E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3354C9

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

Preview Lab → · Contrast checker → · Palette generator →

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