#3A58BB#3A58BB

#3A58BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.160 H 267.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3A58BB
RGBrgb(58, 88, 187)
HSLhsl(226, 53%, 48%)
HSVhsv(226, 69%, 73%)
CMYKcmyk(69%, 52.9%, 0%, 26.7%)
CIE-LABlab(40.35, 22.41, -55.55)
CIE-LCHlch(40.35, 59.90, 291.97°)
OKLaboklab(49.4% -0.0069 -0.1597)
OKLCHoklch(49.4% 0.16 267.5)
XYZxyz(14.2012, 11.4654, 48.4687)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58BB #BB9D3A
analogous
#3A98BB #3A58BB #5D3ABB
triadic
#3A58BB #BB3A58 #58BB3A
tetradic
#3A58BB #BB3A98 #BB9D3A #3ABB5D
square
#3A58BB #BB3A98 #BB9D3A #3ABB5D
split-complementary
#3A58BB #BB5D3A #98BB3A
monochromatic
#1D2C5E #2C428C #3A58BB #637CCF #92A4DD

Accessibility & contrast

On white

6.38
#3A58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3A58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58BB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58BB#FFFFFF#000000##FFFFFF
##3A58BB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a58bb;
/* rgb */ color: rgb(58, 88, 187);
/* oklch */ color: oklch(49.4% 0.160 267.5);
Tailwind
colors: {
  custom: {
    50: '#7f86d0',
    500: '#3a58bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a58bb;
$custom-light: #7f86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58bb",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 226.047,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.15982,
    "h": 267.5
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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