#3A58BC#3A58BC

#3A58BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.161 H 267.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3A58BC
RGBrgb(58, 88, 188)
HSLhsl(226, 53%, 48%)
HSVhsv(226, 69%, 74%)
CMYKcmyk(69.1%, 53.2%, 0%, 26.3%)
CIE-LABlab(40.42, 22.78, -56.02)
CIE-LCHlch(40.42, 60.47, 292.13°)
OKLaboklab(49.48% -0.0068 -0.1611)
OKLCHoklch(49.48% 0.161 267.6)
XYZxyz(14.3086, 11.5084, 49.0345)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58BC #BC9E3A
analogous
#3A99BC #3A58BC #5D3ABC
triadic
#3A58BC #BC3A58 #58BC3A
tetradic
#3A58BC #BC3A99 #BC9E3A #3ABC5D
square
#3A58BC #BC3A99 #BC9E3A #3ABC5D
split-complementary
#3A58BC #BC5D3A #99BC3A
monochromatic
#1D2C5E #2C428D #3A58BC #647DCF #93A4DE

Accessibility & contrast

On white

6.36
#3A58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3A58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58BC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58BC#FFFFFF#000000##FFFFFF
##3A58BC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a58bc;
/* rgb */ color: rgb(58, 88, 188);
/* oklch */ color: oklch(49.5% 0.161 267.6);
Tailwind
colors: {
  custom: {
    50: '#8086d1',
    500: '#3a58bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a58bc;
$custom-light: #8086d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58bc",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 226.154,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.1612,
    "h": 267.6
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#3A58BC
secondary
#C9BA89
accent
#BB4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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