#3358AB#3358AB

#3358AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.140 H 263.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3358AB
RGBrgb(51, 88, 171)
HSLhsl(222, 54%, 44%)
HSVhsv(222, 70%, 67%)
CMYKcmyk(70.2%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.94, 15.44, -48.43)
CIE-LCHlch(38.94, 50.84, 287.68°)
OKLaboklab(47.89% -0.015 -0.1389)
OKLCHoklch(47.89% 0.14 263.8)
XYZxyz(12.2031, 10.6223, 39.9274)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3358AB #AB8633
analogous
#3394AB #3358AB #4A33AB
triadic
#3358AB #AB3358 #58AB33
tetradic
#3358AB #AB3394 #AB8633 #33AB4A
square
#3358AB #AB3394 #AB8633 #33AB4A
split-complementary
#3358AB #AB4A33 #94AB33
monochromatic
#17274D #25407C #3358AB #5076CB #7F9BD9

Accessibility & contrast

On white

6.72
#3358AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3358AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3358AB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3358AB#FFFFFF#000000##FFFFFF
##3358AB1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AE
Deuteranopia (green-blind)
#0B57A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3358ab;
/* rgb */ color: rgb(51, 88, 171);
/* oklch */ color: oklch(47.9% 0.140 263.8);
Tailwind
colors: {
  custom: {
    50: '#7986c4',
    500: '#3358ab',
    950: '#000000',
  },
}
SCSS
$custom: #3358ab;
$custom-light: #7986c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3358ab",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 221.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4789,
    "c": 0.13968,
    "h": 263.8
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#3358AB
secondary
#C2AB78
accent
#B04ADD
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3358AB

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

Preview Lab → · Contrast checker → · Palette generator →

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