#3A58BA#3A58BA

#3A58BA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.158 H 267.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3A58BA
RGBrgb(58, 88, 186)
HSLhsl(226, 52%, 48%)
HSVhsv(226, 69%, 73%)
CMYKcmyk(68.8%, 52.7%, 0%, 27.1%)
CIE-LABlab(40.28, 22.05, -55.08)
CIE-LCHlch(40.28, 59.33, 291.82°)
OKLaboklab(49.33% -0.007 -0.1583)
OKLCHoklch(49.33% 0.158 267.5)
XYZxyz(14.0945, 11.4228, 47.9069)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58BA #BA9C3A
analogous
#3A98BA #3A58BA #5C3ABA
triadic
#3A58BA #BA3A58 #58BA3A
tetradic
#3A58BA #BA3A98 #BA9C3A #3ABA5C
square
#3A58BA #BA3A98 #BA9C3A #3ABA5C
split-complementary
#3A58BA #BA5C3A #98BA3A
monochromatic
#1D2C5D #2B428B #3A58BA #637CCE #92A3DD

Accessibility & contrast

On white

6.39
#3A58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3A58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58BA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58BA#FFFFFF#000000##FFFFFF
##3A58BA1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a58ba;
/* rgb */ color: rgb(58, 88, 186);
/* oklch */ color: oklch(49.3% 0.158 267.5);
Tailwind
colors: {
  custom: {
    50: '#7f86cf',
    500: '#3a58ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a58ba;
$custom-light: #7f86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58ba",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 225.938,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49329,
    "c": 0.15843,
    "h": 267.5
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#3A58BA
secondary
#C8B988
accent
#BA4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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