#3057AB#3057AB

#3057AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.142 H 263.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3057AB
RGBrgb(48, 87, 171)
HSLhsl(221, 56%, 43%)
HSVhsv(221, 72%, 67%)
CMYKcmyk(71.9%, 49.1%, 0%, 32.9%)
CIE-LABlab(38.52, 15.65, -49.11)
CIE-LCHlch(38.52, 51.54, 287.67°)
OKLaboklab(47.54% -0.0166 -0.1409)
OKLCHoklch(47.54% 0.142 263.3)
XYZxyz(11.9752, 10.3838, 39.8933)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057AB #AB8430
analogous
#3094AB #3057AB #4730AB
triadic
#3057AB #AB3057 #57AB30
tetradic
#3057AB #AB3094 #AB8430 #30AB47
square
#3057AB #AB3094 #AB8430 #30AB47
split-complementary
#3057AB #AB4730 #94AB30
monochromatic
#15264B #233F7B #3057AB #4C74CD #7B99DA

Accessibility & contrast

On white

6.82
#3057AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3057AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057AB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057AB#FFFFFF#000000##FFFFFF
##3057AB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3057ab;
/* rgb */ color: rgb(48, 87, 171);
/* oklch */ color: oklch(47.5% 0.142 263.3);
Tailwind
colors: {
  custom: {
    50: '#7885c4',
    500: '#3057ab',
    950: '#000000',
  },
}
SCSS
$custom: #3057ab;
$custom-light: #7885c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3057ab",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 220.976,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.1419,
    "h": 263.3
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#3057AB
secondary
#C3AA74
accent
#B048DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3057AB

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

Preview Lab → · Contrast checker → · Palette generator →

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