#3062C5#3062C5

#3062C5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.8% C 0.164 H 262.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3062C5
RGBrgb(48, 98, 197)
HSLhsl(220, 61%, 48%)
HSVhsv(220, 76%, 77%)
CMYKcmyk(75.6%, 50.3%, 0%, 22.7%)
CIE-LABlab(43.35, 18.30, -56.54)
CIE-LCHlch(43.35, 59.43, 287.93°)
OKLaboklab(51.78% -0.0224 -0.1626)
OKLCHoklch(51.78% 0.164 262.2)
XYZxyz(15.6610, 13.3932, 54.5723)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062C5 #C59330
analogous
#30ACC5 #3062C5 #4930C5
triadic
#3062C5 #C53062 #62C530
tetradic
#3062C5 #C530AC #C59330 #30C549
square
#3062C5 #C530AC #C59330 #30C549
split-complementary
#3062C5 #C54930 #ACC530
monochromatic
#183163 #244A94 #3062C5 #5B85D7 #8CA9E3

Accessibility & contrast

On white

5.71
#3062C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3062C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062C5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062C5#FFFFFF#000000##FFFFFF
##3062C51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256EC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3062c5;
/* rgb */ color: rgb(48, 98, 197);
/* oklch */ color: oklch(51.8% 0.164 262.2);
Tailwind
colors: {
  custom: {
    50: '#7d8ed7',
    500: '#3062c5',
    950: '#000000',
  },
}
SCSS
$custom: #3062c5;
$custom-light: #7d8ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3062c5",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 197
  },
  "hsl": {
    "h": 219.866,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.16413,
    "h": 262.2
  },
  "luminance": 0.13395
}

Semantic roles & 50–950 ramp

primary
#3062C5
secondary
#CDB584
accent
#AE44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3062C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3062C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva