#3354C8#3354C8

#3354C8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.184 H 267.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3354C8
RGBrgb(51, 84, 200)
HSLhsl(227, 59%, 49%)
HSVhsv(227, 75%, 78%)
CMYKcmyk(74.5%, 58%, 0%, 21.6%)
CIE-LABlab(39.94, 28.84, -63.81)
CIE-LCHlch(39.94, 70.02, 294.32°)
OKLaboklab(49.31% -0.0093 -0.1841)
OKLCHoklch(49.31% 0.184 267.1)
XYZxyz(14.9573, 11.2130, 56.0084)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354C8 #C8A733
analogous
#339FC8 #3354C8 #5C33C8
triadic
#3354C8 #C83354 #54C833
tetradic
#3354C8 #C8339F #C8A733 #33C85C
square
#3354C8 #C8339F #C8A733 #33C85C
split-complementary
#3354C8 #C85C33 #9FC833
monochromatic
#1A2B66 #274097 #3354C8 #617BD7 #92A4E3

Accessibility & contrast

On white

6.48
#3354C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3354C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354C8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354C8#FFFFFF#000000##FFFFFF
##3354C81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3354c8;
/* rgb */ color: rgb(51, 84, 200);
/* oklch */ color: oklch(49.3% 0.184 267.1);
Tailwind
colors: {
  custom: {
    50: '#8083da',
    500: '#3354c8',
    950: '#000000',
  },
}
SCSS
$custom: #3354c8;
$custom-light: #8083da;
$custom-dark: #000000;
JSON
{
  "hex": "#3354c8",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 226.711,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.18438,
    "h": 267.1
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3354C8

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

Preview Lab → · Contrast checker → · Palette generator →

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