#3362B4#3362B4

#3362B4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.140 H 260.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3362B4
RGBrgb(51, 98, 180)
HSLhsl(218, 56%, 45%)
HSVhsv(218, 72%, 71%)
CMYKcmyk(71.7%, 45.6%, 0%, 29.4%)
CIE-LABlab(42.36, 12.31, -48.24)
CIE-LCHlch(42.36, 49.79, 284.32°)
OKLaboklab(50.7% -0.0227 -0.1381)
OKLCHoklch(50.7% 0.14 260.7)
XYZxyz(13.9682, 12.7330, 44.8927)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3362B4 #B48533
analogous
#33A2B4 #3362B4 #4533B4
triadic
#3362B4 #B43362 #62B433
tetradic
#3362B4 #B433A2 #B48533 #33B445
square
#3362B4 #B433A2 #B48533 #33B445
split-complementary
#3362B4 #B44533 #A2B433
monochromatic
#182E55 #254884 #3362B4 #5582CF #85A5DC

Accessibility & contrast

On white

5.92
#3362B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3362B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3362B4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3362B4#FFFFFF#000000##FFFFFF
##3362B41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#1E5EB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3362b4;
/* rgb */ color: rgb(51, 98, 180);
/* oklch */ color: oklch(50.7% 0.140 260.7);
Tailwind
colors: {
  custom: {
    50: '#7b8ecb',
    500: '#3362b4',
    950: '#000000',
  },
}
SCSS
$custom: #3362b4;
$custom-light: #7b8ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3362b4",
  "rgb": {
    "r": 51,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 218.14,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.13998,
    "h": 260.7
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3362B4

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

Preview Lab → · Contrast checker → · Palette generator →

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