#3358A2#3358A2

#3358A2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.127 H 262.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3358A2
RGBrgb(51, 88, 162)
HSLhsl(220, 52%, 42%)
HSVhsv(220, 69%, 64%)
CMYKcmyk(68.5%, 45.7%, 0%, 36.5%)
CIE-LABlab(38.36, 12.09, -44.01)
CIE-LCHlch(38.36, 45.64, 285.36°)
OKLaboklab(47.26% -0.0164 -0.1259)
OKLCHoklch(47.26% 0.127 262.6)
XYZxyz(11.3742, 10.2908, 35.5623)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3358A2 #A27D33
analogous
#3390A2 #3358A2 #4633A2
triadic
#3358A2 #A23358 #58A233
tetradic
#3358A2 #A23390 #A27D33 #33A246
square
#3358A2 #A23390 #A27D33 #33A246
split-complementary
#3358A2 #A24633 #90A233
monochromatic
#162545 #243F73 #3358A2 #4C75C7 #7A99D5

Accessibility & contrast

On white

6.87
#3358A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3358A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3358A2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3358A2#FFFFFF#000000##FFFFFF
##3358A21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#1F56A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3358a2;
/* rgb */ color: rgb(51, 88, 162);
/* oklch */ color: oklch(47.3% 0.127 262.6);
Tailwind
colors: {
  custom: {
    50: '#7786be',
    500: '#3358a2',
    950: '#000000',
  },
}
SCSS
$custom: #3358a2;
$custom-light: #7786be;
$custom-dark: #000000;
JSON
{
  "hex": "#3358a2",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 220,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47261,
    "c": 0.12694,
    "h": 262.6
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#3358A2
secondary
#BEA573
accent
#AC4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3358A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3358A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva