#3A55CD#3A55CD

#3A55CD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.188 H 268.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3A55CD
RGBrgb(58, 85, 205)
HSLhsl(229, 60%, 52%)
HSVhsv(229, 72%, 80%)
CMYKcmyk(71.7%, 58.5%, 0%, 19.6%)
CIE-LABlab(40.90, 30.87, -65.11)
CIE-LCHlch(40.90, 72.06, 295.36°)
OKLaboklab(50.23% -0.0036 -0.1878)
OKLCHoklch(50.23% 0.188 268.9)
XYZxyz(16.0091, 11.8027, 59.1802)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55CD #CDB23A
analogous
#3A9ECD #3A55CD #693ACD
triadic
#3A55CD #CD3A55 #55CD3A
tetradic
#3A55CD #CD3A9E #CDB23A #3ACD69
square
#3A55CD #CD3A9E #CDB23A #3ACD69
split-complementary
#3A55CD #CD693A #9ECD3A
monochromatic
#1C2C70 #293FA1 #3A55CD #6B7FD9 #9CA9E6

Accessibility & contrast

On white

6.25
#3A55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3A55CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55CD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55CD#FFFFFF#000000##FFFFFF
##3A55CD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a55cd;
/* rgb */ color: rgb(58, 85, 205);
/* oklch */ color: oklch(50.2% 0.188 268.9);
Tailwind
colors: {
  custom: {
    50: '#8384dd',
    500: '#3a55cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a55cd;
$custom-light: #8384dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55cd",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 228.98,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.18787,
    "h": 268.9
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#3A55CD
secondary
#D2C691
accent
#C645E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A55CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3A55CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva