#3362B3#3362B3

#3362B3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.139 H 260.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3362B3
RGBrgb(51, 98, 179)
HSLhsl(218, 56%, 45%)
HSVhsv(218, 72%, 70%)
CMYKcmyk(71.5%, 45.3%, 0%, 29.8%)
CIE-LABlab(42.30, 11.94, -47.75)
CIE-LCHlch(42.30, 49.22, 284.04°)
OKLaboklab(50.63% -0.0229 -0.1367)
OKLCHoklch(50.63% 0.139 260.5)
XYZxyz(13.8667, 12.6924, 44.3582)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3362B3 #B38433
analogous
#33A2B3 #3362B3 #4433B3
triadic
#3362B3 #B33362 #62B333
tetradic
#3362B3 #B333A2 #B38433 #33B344
square
#3362B3 #B333A2 #B38433 #33B344
split-complementary
#3362B3 #B34433 #A2B333
monochromatic
#182E54 #254883 #3362B3 #5581CE #84A5DC

Accessibility & contrast

On white

5.93
#3362B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3362B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3362B3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3362B3#FFFFFF#000000##FFFFFF
##3362B31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#205EB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3362b3;
/* rgb */ color: rgb(51, 98, 179);
/* oklch */ color: oklch(50.6% 0.139 260.5);
Tailwind
colors: {
  custom: {
    50: '#7b8eca',
    500: '#3362b3',
    950: '#000000',
  },
}
SCSS
$custom: #3362b3;
$custom-light: #7b8eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3362b3",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 217.969,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.1386,
    "h": 260.5
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#3362B3
secondary
#C6AB7C
accent
#A849DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3362B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3362B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva