#3A58BF#3A58BF

#3A58BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.165 H 267.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3A58BF
RGBrgb(58, 88, 191)
HSLhsl(226, 53%, 49%)
HSVhsv(226, 70%, 75%)
CMYKcmyk(69.6%, 53.9%, 0%, 25.1%)
CIE-LABlab(40.64, 23.87, -57.42)
CIE-LCHlch(40.64, 62.19, 292.57°)
OKLaboklab(49.71% -0.0066 -0.1652)
OKLCHoklch(49.71% 0.165 267.7)
XYZxyz(14.6354, 11.6391, 50.7554)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58BF #BFA13A
analogous
#3A9BBF #3A58BF #5F3ABF
triadic
#3A58BF #BF3A58 #58BF3A
tetradic
#3A58BF #BF3A9B #BFA13A #3ABF5F
square
#3A58BF #BF3A9B #BFA13A #3ABF5F
split-complementary
#3A58BF #BF5F3A #9BBF3A
monochromatic
#1D2D61 #2C4290 #3A58BF #667ED0 #95A5DF

Accessibility & contrast

On white

6.31
#3A58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3A58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58BF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58BF#FFFFFF#000000##FFFFFF
##3A58BF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0866C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a58bf;
/* rgb */ color: rgb(58, 88, 191);
/* oklch */ color: oklch(49.7% 0.165 267.7);
Tailwind
colors: {
  custom: {
    50: '#8086d3',
    500: '#3a58bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a58bf;
$custom-light: #8086d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58bf",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 226.466,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49708,
    "c": 0.16532,
    "h": 267.7
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#3A58BF
secondary
#CABC8B
accent
#BC4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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