#3A57AF#3A57AF

#3A57AF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.144 H 267.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3A57AF
RGBrgb(58, 87, 175)
HSLhsl(225, 50%, 46%)
HSVhsv(225, 67%, 69%)
CMYKcmyk(66.9%, 50.3%, 0%, 31.4%)
CIE-LABlab(39.26, 18.69, -50.26)
CIE-LCHlch(39.26, 53.63, 290.40°)
OKLaboklab(48.31% -0.0072 -0.1441)
OKLCHoklch(48.31% 0.144 267.1)
XYZxyz(12.8883, 10.8099, 41.9564)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57AF #AF923A
analogous
#3A91AF #3A57AF #573AAF
triadic
#3A57AF #AF3A57 #57AF3A
tetradic
#3A57AF #AF3A91 #AF923A #3AAF57
square
#3A57AF #AF3A91 #AF923A #3AAF57
split-complementary
#3A57AF #AF573A #91AF3A
monochromatic
#1C2953 #2B4081 #3A57AF #5D78C9 #8B9ED9

Accessibility & contrast

On white

6.64
#3A57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3A57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57AF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57AF#FFFFFF#000000##FFFFFF
##3A57AF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a57af;
/* rgb */ color: rgb(58, 87, 175);
/* oklch */ color: oklch(48.3% 0.144 267.1);
Tailwind
colors: {
  custom: {
    50: '#7d85c7',
    500: '#3a57af',
    950: '#000000',
  },
}
SCSS
$custom: #3a57af;
$custom-light: #7d85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57af",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 225.128,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.14432,
    "h": 267.1
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#3A57AF
secondary
#C3B382
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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