#3057A2#3057A2

#3057A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.129 H 262.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3057A2
RGBrgb(48, 87, 162)
HSLhsl(219, 54%, 41%)
HSVhsv(219, 70%, 64%)
CMYKcmyk(70.4%, 46.3%, 0%, 36.5%)
CIE-LABlab(37.94, 12.26, -44.70)
CIE-LCHlch(37.94, 46.35, 285.33°)
OKLaboklab(46.9% -0.018 -0.1279)
OKLCHoklch(46.9% 0.129 262)
XYZxyz(11.1464, 10.0523, 35.5283)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057A2 #A27B30
analogous
#3090A2 #3057A2 #4230A2
triadic
#3057A2 #A23057 #57A230
tetradic
#3057A2 #A23090 #A27B30 #30A242
square
#3057A2 #A23090 #A27B30 #30A242
split-complementary
#3057A2 #A24230 #90A230
monochromatic
#142444 #223E73 #3057A2 #4773C8 #7697D6

Accessibility & contrast

On white

6.98
#3057A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3057A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057A2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057A2#FFFFFF#000000##FFFFFF
##3057A21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3057a2;
/* rgb */ color: rgb(48, 87, 162);
/* oklch */ color: oklch(46.9% 0.129 262.0);
Tailwind
colors: {
  custom: {
    50: '#7685be',
    500: '#3057a2',
    950: '#000000',
  },
}
SCSS
$custom: #3057a2;
$custom-light: #7685be;
$custom-dark: #000000;
JSON
{
  "hex": "#3057a2",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 219.474,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.12921,
    "h": 262
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#3057A2
secondary
#BEA36F
accent
#AB4ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3057A2

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

Preview Lab → · Contrast checker → · Palette generator →

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