#3062C2#3062C2

#3062C2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.6% C 0.160 H 261.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3062C2
RGBrgb(48, 98, 194)
HSLhsl(219, 60%, 47%)
HSVhsv(219, 75%, 76%)
CMYKcmyk(75.3%, 49.5%, 0%, 23.9%)
CIE-LABlab(43.15, 17.16, -55.13)
CIE-LCHlch(43.15, 57.74, 287.29°)
OKLaboklab(51.57% -0.0228 -0.1584)
OKLCHoklch(51.57% 0.16 261.8)
XYZxyz(15.3207, 13.2571, 52.7799)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062C2 #C29030
analogous
#30ABC2 #3062C2 #4730C2
triadic
#3062C2 #C23062 #62C230
tetradic
#3062C2 #C230AB #C29030 #30C247
square
#3062C2 #C230AB #C29030 #30C247
split-complementary
#3062C2 #C24730 #ABC230
monochromatic
#183060 #244991 #3062C2 #5984D6 #8AA8E2

Accessibility & contrast

On white

5.75
#3062C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3062C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062C2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062C2#FFFFFF#000000##FFFFFF
##3062C21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3062c2;
/* rgb */ color: rgb(48, 98, 194);
/* oklch */ color: oklch(51.6% 0.160 261.8);
Tailwind
colors: {
  custom: {
    50: '#7d8ed5',
    500: '#3062c2',
    950: '#000000',
  },
}
SCSS
$custom: #3062c2;
$custom-light: #7d8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3062c2",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 219.452,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.16008,
    "h": 261.8
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#3062C2
secondary
#CCB382
accent
#AD44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3062C2

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

Preview Lab → · Contrast checker → · Palette generator →

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