#3057A5#3057A5

#3057A5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.133 H 262.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3057A5
RGBrgb(48, 87, 165)
HSLhsl(220, 55%, 42%)
HSVhsv(220, 71%, 65%)
CMYKcmyk(70.9%, 47.3%, 0%, 35.3%)
CIE-LABlab(38.13, 13.39, -46.18)
CIE-LCHlch(38.13, 48.08, 286.17°)
OKLaboklab(47.11% -0.0175 -0.1323)
OKLCHoklch(47.11% 0.133 262.5)
XYZxyz(11.4162, 10.1602, 36.9495)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057A5 #A57E30
analogous
#3092A5 #3057A5 #4430A5
triadic
#3057A5 #A53057 #57A530
tetradic
#3057A5 #A53092 #A57E30 #30A544
square
#3057A5 #A53092 #A57E30 #30A544
split-complementary
#3057A5 #A54430 #92A530
monochromatic
#142546 #223E76 #3057A5 #4874CA #7898D8

Accessibility & contrast

On white

6.93
#3057A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3057A5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057A5#FFFFFF#000000##FFFFFF
##3057A51.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA8
Deuteranopia (green-blind)
#1455A3
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3057a5;
/* rgb */ color: rgb(48, 87, 165);
/* oklch */ color: oklch(47.1% 0.133 262.5);
Tailwind
colors: {
  custom: {
    50: '#7785c0',
    500: '#3057a5',
    950: '#000000',
  },
}
SCSS
$custom: #3057a5;
$custom-light: #7785c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3057a5",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 165
  },
  "hsl": {
    "h": 220,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47109,
    "c": 0.13346,
    "h": 262.5
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#3057A5
secondary
#C0A671
accent
#AD4ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3057A5

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

Preview Lab → · Contrast checker → · Palette generator →

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