#3057C7#3057C7

#3057C7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.180 H 265.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3057C7
RGBrgb(48, 87, 199)
HSLhsl(225, 61%, 48%)
HSVhsv(225, 76%, 78%)
CMYKcmyk(75.9%, 56.3%, 0%, 22%)
CIE-LABlab(40.52, 26.18, -62.28)
CIE-LCHlch(40.52, 67.56, 292.80°)
OKLaboklab(49.68% -0.0139 -0.1797)
OKLCHoklch(49.68% 0.18 265.6)
XYZxyz(14.9323, 11.5666, 55.4674)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3057C7 #C7A030
analogous
#30A2C7 #3057C7 #5430C7
triadic
#3057C7 #C73057 #57C730
tetradic
#3057C7 #C730A2 #C7A030 #30C754
square
#3057C7 #C730A2 #C7A030 #30C754
split-complementary
#3057C7 #C75430 #A2C730
monochromatic
#182C64 #244196 #3057C7 #5C7CD8 #8EA4E4

Accessibility & contrast

On white

6.34
#3057C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3057C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3057C7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3057C7#FFFFFF#000000##FFFFFF
##3057C71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3057c7;
/* rgb */ color: rgb(48, 87, 199);
/* oklch */ color: oklch(49.7% 0.180 265.6);
Tailwind
colors: {
  custom: {
    50: '#7e85d9',
    500: '#3057c7',
    950: '#000000',
  },
}
SCSS
$custom: #3057c7;
$custom-light: #7e85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3057c7",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 224.503,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.18023,
    "h": 265.6
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#3057C7
secondary
#CEBB85
accent
#BB44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #3057C7

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

Preview Lab → · Contrast checker → · Palette generator →

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