#3358AA#3358AA

#3358AA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.138 H 263.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3358AA
RGBrgb(51, 88, 170)
HSLhsl(221, 54%, 43%)
HSVhsv(221, 70%, 67%)
CMYKcmyk(70%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.87, 15.07, -47.95)
CIE-LCHlch(38.87, 50.26, 287.45°)
OKLaboklab(47.82% -0.0151 -0.1374)
OKLCHoklch(47.82% 0.138 263.7)
XYZxyz(12.1081, 10.5843, 39.4273)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3358AA #AA8533
analogous
#3393AA #3358AA #4A33AA
triadic
#3358AA #AA3358 #58AA33
tetradic
#3358AA #AA3393 #AA8533 #33AA4A
square
#3358AA #AA3393 #AA8533 #33AA4A
split-complementary
#3358AA #AA4A33 #93AA33
monochromatic
#17274C #25407B #3358AA #5076CA #7F9BD9

Accessibility & contrast

On white

6.74
#3358AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3358AA#FFFFFF#000000##FFFFFF
##3358AA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3358aa;
/* rgb */ color: rgb(51, 88, 170);
/* oklch */ color: oklch(47.8% 0.138 263.7);
Tailwind
colors: {
  custom: {
    50: '#7986c4',
    500: '#3358aa',
    950: '#000000',
  },
}
SCSS
$custom: #3358aa;
$custom-light: #7986c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3358aa",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 221.345,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.13827,
    "h": 263.7
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#3358AA
secondary
#C2AA77
accent
#B04BDD
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3358AA

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

Preview Lab → · Contrast checker → · Palette generator →

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