#3A55AF#3A55AF

#3A55AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.147 H 267.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3A55AF
RGBrgb(58, 85, 175)
HSLhsl(226, 50%, 46%)
HSVhsv(226, 67%, 69%)
CMYKcmyk(66.9%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.71, 20.00, -51.15)
CIE-LCHlch(38.71, 54.92, 291.35°)
OKLaboklab(47.89% -0.0053 -0.1468)
OKLCHoklch(47.89% 0.147 267.9)
XYZxyz(12.7286, 10.4905, 41.9032)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55AF #AF943A
analogous
#3A8FAF #3A55AF #593AAF
triadic
#3A55AF #AF3A55 #55AF3A
tetradic
#3A55AF #AF3A8F #AF943A #3AAF59
square
#3A55AF #AF3A8F #AF943A #3AAF59
split-complementary
#3A55AF #AF593A #8FAF3A
monochromatic
#1C2853 #2B3F81 #3A55AF #5D76C9 #8B9DD9

Accessibility & contrast

On white

6.78
#3A55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3A55AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55AF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55AF#FFFFFF#000000##FFFFFF
##3A55AF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a55af;
/* rgb */ color: rgb(58, 85, 175);
/* oklch */ color: oklch(47.9% 0.147 267.9);
Tailwind
colors: {
  custom: {
    50: '#7d84c7',
    500: '#3a55af',
    950: '#000000',
  },
}
SCSS
$custom: #3a55af;
$custom-light: #7d84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55af",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 226.154,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.14688,
    "h": 267.9
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#3A55AF
secondary
#C3B482
accent
#B94EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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