#3057A4#3057A4

#3057A4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.132 H 262.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3057A4
RGBrgb(48, 87, 164)
HSLhsl(220, 55%, 42%)
HSVhsv(220, 71%, 64%)
CMYKcmyk(70.7%, 47%, 0%, 35.7%)
CIE-LABlab(38.06, 13.01, -45.68)
CIE-LCHlch(38.06, 47.50, 285.89°)
OKLaboklab(47.04% -0.0176 -0.1309)
OKLCHoklch(47.04% 0.132 262.3)
XYZxyz(11.3256, 10.1239, 36.4720)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057A4 #A47D30
analogous
#3091A4 #3057A4 #4330A4
triadic
#3057A4 #A43057 #57A430
tetradic
#3057A4 #A43091 #A47D30 #30A443
square
#3057A4 #A43091 #A47D30 #30A443
split-complementary
#3057A4 #A44330 #91A430
monochromatic
#142545 #223E75 #3057A4 #4873C9 #7797D7

Accessibility & contrast

On white

6.94
#3057A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3057A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057A4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057A4#FFFFFF#000000##FFFFFF
##3057A41.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#1655A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3057a4;
/* rgb */ color: rgb(48, 87, 164);
/* oklch */ color: oklch(47.0% 0.132 262.3);
Tailwind
colors: {
  custom: {
    50: '#7785bf',
    500: '#3057a4',
    950: '#000000',
  },
}
SCSS
$custom: #3057a4;
$custom-light: #7785bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3057a4",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 219.828,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.13204,
    "h": 262.3
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#3057A4
secondary
#BFA570
accent
#AC4ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3057A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3057A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva