#3057C2#3057C2

#3057C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.174 H 265.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3057C2
RGBrgb(48, 87, 194)
HSLhsl(224, 60%, 47%)
HSVhsv(224, 75%, 76%)
CMYKcmyk(75.3%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.14, 24.31, -59.99)
CIE-LCHlch(40.14, 64.73, 292.06°)
OKLaboklab(49.28% -0.0142 -0.1729)
OKLCHoklch(49.28% 0.174 265.3)
XYZxyz(14.3613, 11.3382, 52.4601)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057C2 #C29B30
analogous
#30A0C2 #3057C2 #5230C2
triadic
#3057C2 #C23057 #57C230
tetradic
#3057C2 #C230A0 #C29B30 #30C252
square
#3057C2 #C230A0 #C29B30 #30C252
split-complementary
#3057C2 #C25230 #A0C230
monochromatic
#182B60 #244191 #3057C2 #597BD6 #8AA2E2

Accessibility & contrast

On white

6.43
#3057C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3057C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057C2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057C2#FFFFFF#000000##FFFFFF
##3057C21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3057c2;
/* rgb */ color: rgb(48, 87, 194);
/* oklch */ color: oklch(49.3% 0.174 265.3);
Tailwind
colors: {
  custom: {
    50: '#7d85d5',
    500: '#3057c2',
    950: '#000000',
  },
}
SCSS
$custom: #3057c2;
$custom-light: #7d85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3057c2",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 223.973,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49284,
    "c": 0.17353,
    "h": 265.3
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#3057C2
secondary
#CCB882
accent
#B944E3
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3057C2

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

Preview Lab → · Contrast checker → · Palette generator →

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