#3357C2#3357C2

#3357C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.173 H 266.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3357C2
RGBrgb(51, 87, 194)
HSLhsl(225, 58%, 48%)
HSVhsv(225, 74%, 76%)
CMYKcmyk(73.7%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.27, 24.67, -59.78)
CIE-LCHlch(40.27, 64.67, 292.43°)
OKLaboklab(49.41% -0.0117 -0.1723)
OKLCHoklch(49.41% 0.173 266.1)
XYZxyz(14.5076, 11.4137, 52.4670)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3357C2 #C29E33
analogous
#339EC2 #3357C2 #5633C2
triadic
#3357C2 #C23357 #57C233
tetradic
#3357C2 #C2339E #C29E33 #33C256
square
#3357C2 #C2339E #C29E33 #33C256
split-complementary
#3357C2 #C25633 #9EC233
monochromatic
#1A2C61 #264192 #3357C2 #5E7CD5 #8EA3E1

Accessibility & contrast

On white

6.40
#3357C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3357C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3357C2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3357C2#FFFFFF#000000##FFFFFF
##3357C21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3357c2;
/* rgb */ color: rgb(51, 87, 194);
/* oklch */ color: oklch(49.4% 0.173 266.1);
Tailwind
colors: {
  custom: {
    50: '#7e85d5',
    500: '#3357c2',
    950: '#000000',
  },
}
SCSS
$custom: #3357c2;
$custom-light: #7e85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3357c2",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 224.895,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.17268,
    "h": 266.1
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#3357C2
secondary
#CCBA85
accent
#BA46E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3357C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3357C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva