#3A55BE#3A55BE

#3A55BE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.168 H 268.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3A55BE
RGBrgb(58, 85, 190)
HSLhsl(228, 53%, 49%)
HSVhsv(228, 69%, 75%)
CMYKcmyk(69.5%, 55.3%, 0%, 25.5%)
CIE-LABlab(39.77, 25.45, -58.25)
CIE-LCHlch(39.77, 63.56, 293.60°)
OKLaboklab(49.03% -0.0041 -0.1676)
OKLCHoklch(49.03% 0.168 268.6)
XYZxyz(14.2845, 11.1128, 50.0974)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55BE #BEA33A
analogous
#3A97BE #3A55BE #613ABE
triadic
#3A55BE #BE3A55 #55BE3A
tetradic
#3A55BE #BE3A97 #BEA33A #3ABE61
square
#3A55BE #BE3A97 #BEA33A #3ABE61
split-complementary
#3A55BE #BE613A #97BE3A
monochromatic
#1D2B60 #2C408F #3A55BE #657BD0 #94A3DE

Accessibility & contrast

On white

6.52
#3A55BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3A55BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55BE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55BE#FFFFFF#000000##FFFFFF
##3A55BE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a55be;
/* rgb */ color: rgb(58, 85, 190);
/* oklch */ color: oklch(49.0% 0.168 268.6);
Tailwind
colors: {
  custom: {
    50: '#8084d2',
    500: '#3a55be',
    950: '#000000',
  },
}
SCSS
$custom: #3a55be;
$custom-light: #8084d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55be",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 227.727,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.1677,
    "h": 268.6
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#3A55BE
secondary
#CABD8A
accent
#BF4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A55BE

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

Preview Lab → · Contrast checker → · Palette generator →

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