#3358CD#3358CD

#3358CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.186 H 266.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3358CD
RGBrgb(51, 88, 205)
HSLhsl(226, 61%, 50%)
HSVhsv(226, 75%, 80%)
CMYKcmyk(75.1%, 57.1%, 0%, 19.6%)
CIE-LABlab(41.36, 28.10, -64.38)
CIE-LCHlch(41.36, 70.25, 293.58°)
OKLaboklab(50.49% -0.0119 -0.1858)
OKLCHoklch(50.49% 0.186 266.3)
XYZxyz(15.8705, 12.0893, 59.2428)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3358CD #CDA833
analogous
#33A5CD #3358CD #5B33CD
triadic
#3358CD #CD3358 #58CD33
tetradic
#3358CD #CD33A5 #CDA833 #33CD5B
square
#3358CD #CD33A5 #CDA833 #33CD5B
split-complementary
#3358CD #CD5B33 #A5CD33
monochromatic
#1A2E6B #26439C #3358CD #6480D9 #95A8E5

Accessibility & contrast

On white

6.14
#3358CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3358CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3358CD#FFFFFF#000000##FFFFFF
##3358CD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3358cd;
/* rgb */ color: rgb(51, 88, 205);
/* oklch */ color: oklch(50.5% 0.186 266.3);
Tailwind
colors: {
  custom: {
    50: '#8186dd',
    500: '#3358cd',
    950: '#000000',
  },
}
SCSS
$custom: #3358cd;
$custom-light: #8186dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3358cd",
  "rgb": {
    "r": 51,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 225.584,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.18617,
    "h": 266.3
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#3358CD
secondary
#D0C08B
accent
#BD44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3358CD

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

Preview Lab → · Contrast checker → · Palette generator →

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