#3A55CB#3A55CB

#3A55CB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.185 H 268.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3A55CB
RGBrgb(58, 85, 203)
HSLhsl(229, 58%, 51%)
HSVhsv(229, 71%, 80%)
CMYKcmyk(71.4%, 58.1%, 0%, 20.4%)
CIE-LABlab(40.75, 30.15, -64.21)
CIE-LCHlch(40.75, 70.94, 295.15°)
OKLaboklab(50.07% -0.0037 -0.1852)
OKLCHoklch(50.07% 0.185 268.9)
XYZxyz(15.7692, 11.7067, 57.9169)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55CB #CBB03A
analogous
#3A9DCB #3A55CB #673ACB
triadic
#3A55CB #CB3A55 #55CB3A
tetradic
#3A55CB #CB3A9D #CBB03A #3ACB67
square
#3A55CB #CB3A9D #CBB03A #3ACB67
split-complementary
#3A55CB #CB673A #9DCB3A
monochromatic
#1D2C6E #2A3F9E #3A55CB #6A7FD8 #9BA9E5

Accessibility & contrast

On white

6.28
#3A55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3A55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55CB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55CB#FFFFFF#000000##FFFFFF
##3A55CB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a55cb;
/* rgb */ color: rgb(58, 85, 203);
/* oklch */ color: oklch(50.1% 0.185 268.9);
Tailwind
colors: {
  custom: {
    50: '#8384dc',
    500: '#3a55cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a55cb;
$custom-light: #8384dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55cb",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 228.828,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50071,
    "c": 0.18523,
    "h": 268.9
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#3A55CB
secondary
#D0C590
accent
#C546E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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