#3A58AF#3A58AF

#3A58AF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.143 H 266.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3A58AF
RGBrgb(58, 88, 175)
HSLhsl(225, 50%, 46%)
HSVhsv(225, 67%, 69%)
CMYKcmyk(66.9%, 49.7%, 0%, 31.4%)
CIE-LABlab(39.53, 18.04, -49.82)
CIE-LCHlch(39.53, 52.99, 289.91°)
OKLaboklab(48.52% -0.0081 -0.1428)
OKLCHoklch(48.52% 0.143 266.7)
XYZxyz(12.9698, 10.9729, 41.9836)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58AF #AF913A
analogous
#3A93AF #3A58AF #563AAF
triadic
#3A58AF #AF3A58 #58AF3A
tetradic
#3A58AF #AF3A93 #AF913A #3AAF56
square
#3A58AF #AF3A93 #AF913A #3AAF56
split-complementary
#3A58AF #AF563A #93AF3A
monochromatic
#1C2A53 #2B4181 #3A58AF #5D79C9 #8B9FD9

Accessibility & contrast

On white

6.57
#3A58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3A58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58AF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58AF#FFFFFF#000000##FFFFFF
##3A58AF1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#0658AD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a58af;
/* rgb */ color: rgb(58, 88, 175);
/* oklch */ color: oklch(48.5% 0.143 266.7);
Tailwind
colors: {
  custom: {
    50: '#7d86c7',
    500: '#3a58af',
    950: '#000000',
  },
}
SCSS
$custom: #3a58af;
$custom-light: #7d86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58af",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 224.615,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.14305,
    "h": 266.7
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#3A58AF
secondary
#C3B282
accent
#B64EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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