#3A55BA#3A55BA

#3A55BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.162 H 268.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3A55BA
RGBrgb(58, 85, 186)
HSLhsl(227, 52%, 48%)
HSVhsv(227, 69%, 73%)
CMYKcmyk(68.8%, 54.3%, 0%, 27.1%)
CIE-LABlab(39.48, 24.00, -56.38)
CIE-LCHlch(39.48, 61.27, 293.06°)
OKLaboklab(48.72% -0.0044 -0.1621)
OKLCHoklch(48.72% 0.162 268.5)
XYZxyz(13.8533, 10.9404, 47.8265)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55BA #BA9F3A
analogous
#3A95BA #3A55BA #5F3ABA
triadic
#3A55BA #BA3A55 #55BA3A
tetradic
#3A55BA #BA3A95 #BA9F3A #3ABA5F
square
#3A55BA #BA3A95 #BA9F3A #3ABA5F
split-complementary
#3A55BA #BA5F3A #95BA3A
monochromatic
#1D2A5D #2B408B #3A55BA #637ACE #92A1DD

Accessibility & contrast

On white

6.59
#3A55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3A55BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55BA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55BA#FFFFFF#000000##FFFFFF
##3A55BA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0563BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a55ba;
/* rgb */ color: rgb(58, 85, 186);
/* oklch */ color: oklch(48.7% 0.162 268.5);
Tailwind
colors: {
  custom: {
    50: '#7f84cf',
    500: '#3a55ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a55ba;
$custom-light: #7f84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55ba",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 227.344,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.16221,
    "h": 268.5
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#3A55BA
secondary
#C8BA88
accent
#BE4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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