#3057AC#3057AC

#3057AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.143 H 263.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3057AC
RGBrgb(48, 87, 172)
HSLhsl(221, 56%, 43%)
HSVhsv(221, 72%, 67%)
CMYKcmyk(72.1%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.59, 16.03, -49.59)
CIE-LCHlch(38.59, 52.12, 287.91°)
OKLaboklab(47.61% -0.0164 -0.1424)
OKLCHoklch(47.61% 0.143 263.4)
XYZxyz(12.0709, 10.4221, 40.3972)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057AC #AC8530
analogous
#3095AC #3057AC #4730AC
triadic
#3057AC #AC3057 #57AC30
tetradic
#3057AC #AC3095 #AC8530 #30AC47
square
#3057AC #AC3095 #AC8530 #30AC47
split-complementary
#3057AC #AC4730 #95AC30
monochromatic
#15274C #233F7C #3057AC #4C75CD #7C9ADA

Accessibility & contrast

On white

6.81
#3057AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3057AC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057AC#FFFFFF#000000##FFFFFF
##3057AC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3057ac;
/* rgb */ color: rgb(48, 87, 172);
/* oklch */ color: oklch(47.6% 0.143 263.4);
Tailwind
colors: {
  custom: {
    50: '#7885c5',
    500: '#3057ac',
    950: '#000000',
  },
}
SCSS
$custom: #3057ac;
$custom-light: #7885c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3057ac",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 221.129,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4761,
    "c": 0.1433,
    "h": 263.4
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#3057AC
secondary
#C3AA75
accent
#B048E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3057AC

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

Preview Lab → · Contrast checker → · Palette generator →

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