#3A55CC#3A55CC

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

Color values

HEX#3A55CC
RGBrgb(58, 85, 204)
HSLhsl(229, 59%, 51%)
HSVhsv(229, 72%, 80%)
CMYKcmyk(71.6%, 58.3%, 0%, 20%)
CIE-LABlab(40.82, 30.51, -64.66)
CIE-LCHlch(40.82, 71.50, 295.26°)
OKLaboklab(50.15% -0.0036 -0.1865)
OKLCHoklch(50.15% 0.187 268.9)
XYZxyz(15.8888, 11.7545, 58.5465)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55CC #CCB13A
analogous
#3A9ECC #3A55CC #683ACC
triadic
#3A55CC #CC3A55 #55CC3A
tetradic
#3A55CC #CC3A9E #CCB13A #3ACC68
square
#3A55CC #CC3A9E #CCB13A #3ACC68
split-complementary
#3A55CC #CC683A #9ECC3A
monochromatic
#1D2C6F #293FA0 #3A55CC #6B7FD9 #9BA9E5

Accessibility & contrast

On white

6.27
#3A55CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A55CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55CC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55CC#FFFFFF#000000##FFFFFF
##3A55CC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a55cc;
/* rgb */ color: rgb(58, 85, 204);
/* oklch */ color: oklch(50.2% 0.187 268.9);
Tailwind
colors: {
  custom: {
    50: '#8384dc',
    500: '#3a55cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a55cc;
$custom-light: #8384dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55cc",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 228.904,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.18656,
    "h": 268.9
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#3A55CC
secondary
#D1C591
accent
#C546E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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