#3A55CF#3A55CF

#3A55CF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.191 H 268.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3A55CF
RGBrgb(58, 85, 207)
HSLhsl(229, 61%, 52%)
HSVhsv(229, 72%, 81%)
CMYKcmyk(72%, 58.9%, 0%, 18.8%)
CIE-LABlab(41.06, 31.59, -66.01)
CIE-LCHlch(41.06, 73.18, 295.57°)
OKLaboklab(50.4% -0.0036 -0.1905)
OKLCHoklch(50.4% 0.191 268.9)
XYZxyz(16.2520, 11.8998, 60.4598)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55CF #CFB43A
analogous
#3A9FCF #3A55CF #6A3ACF
triadic
#3A55CF #CF3A55 #55CF3A
tetradic
#3A55CF #CF3A9F #CFB43A #3ACF6A
square
#3A55CF #CF3A9F #CFB43A #3ACF6A
split-complementary
#3A55CF #CF6A3A #9FCF3A
monochromatic
#1C2C73 #283EA4 #3A55CF #6B7FDB #9CAAE7

Accessibility & contrast

On white

6.21
#3A55CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3A55CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55CF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55CF#FFFFFF#000000##FFFFFF
##3A55CF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a55cf;
/* rgb */ color: rgb(58, 85, 207);
/* oklch */ color: oklch(50.4% 0.191 268.9);
Tailwind
colors: {
  custom: {
    50: '#8484df',
    500: '#3a55cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a55cf;
$custom-light: #8484df;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55cf",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 229.128,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.19051,
    "h": 268.9
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#3A55CF
secondary
#D3C792
accent
#C744E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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