#3358B1#3358B1

#3358B1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.148 H 264.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3358B1
RGBrgb(51, 88, 177)
HSLhsl(222, 55%, 45%)
HSVhsv(222, 71%, 69%)
CMYKcmyk(71.2%, 50.3%, 0%, 30.6%)
CIE-LABlab(39.34, 17.68, -51.33)
CIE-LCHlch(39.34, 54.30, 289.01°)
OKLaboklab(48.32% -0.0142 -0.1474)
OKLCHoklch(48.32% 0.148 264.5)
XYZxyz(12.7880, 10.8563, 43.0080)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3358B1 #B18C33
analogous
#3397B1 #3358B1 #4D33B1
triadic
#3358B1 #B13358 #58B133
tetradic
#3358B1 #B13397 #B18C33 #33B14D
square
#3358B1 #B13397 #B18C33 #33B14D
split-complementary
#3358B1 #B14D33 #97B133
monochromatic
#182952 #254081 #3358B1 #5477CE #839DDB

Accessibility & contrast

On white

6.62
#3358B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3358B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3358B1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3358B1#FFFFFF#000000##FFFFFF
##3358B11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3358b1;
/* rgb */ color: rgb(51, 88, 177);
/* oklch */ color: oklch(48.3% 0.148 264.5);
Tailwind
colors: {
  custom: {
    50: '#7a86c9',
    500: '#3358b1',
    950: '#000000',
  },
}
SCSS
$custom: #3358b1;
$custom-light: #7a86c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3358b1",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 222.381,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48324,
    "c": 0.14809,
    "h": 264.5
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#3358B1
secondary
#C5AF7B
accent
#B349DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3358B1

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

Preview Lab → · Contrast checker → · Palette generator →

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