#3357B2#3357B2

#3357B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.151 H 265.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3357B2
RGBrgb(51, 87, 178)
HSLhsl(223, 55%, 45%)
HSVhsv(223, 71%, 70%)
CMYKcmyk(71.3%, 51.1%, 0%, 30.2%)
CIE-LABlab(39.13, 18.71, -52.26)
CIE-LCHlch(39.13, 55.51, 289.70°)
OKLaboklab(48.19% -0.0132 -0.1502)
OKLCHoklch(48.19% 0.151 265)
XYZxyz(12.8065, 10.7332, 43.5076)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3357B2 #B28E33
analogous
#3397B2 #3357B2 #4E33B2
triadic
#3357B2 #B23357 #57B233
tetradic
#3357B2 #B23397 #B28E33 #33B24E
square
#3357B2 #B23397 #B28E33 #33B24E
split-complementary
#3357B2 #B24E33 #97B233
monochromatic
#182853 #254082 #3357B2 #5477CE #849DDC

Accessibility & contrast

On white

6.67
#3357B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3357B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3357B2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3357B2#FFFFFF#000000##FFFFFF
##3357B21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3357b2;
/* rgb */ color: rgb(51, 87, 178);
/* oklch */ color: oklch(48.2% 0.151 265.0);
Tailwind
colors: {
  custom: {
    50: '#7b85ca',
    500: '#3357b2',
    950: '#000000',
  },
}
SCSS
$custom: #3357b2;
$custom-light: #7b85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3357b2",
  "rgb": {
    "r": 51,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 222.992,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.15074,
    "h": 265
  },
  "luminance": 0.10735
}

Semantic roles & 50–950 ramp

primary
#3357B2
secondary
#C5B07C
accent
#B449DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3357B2

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

Preview Lab → · Contrast checker → · Palette generator →

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