#3062C3#3062C3

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

Color values

HEX#3062C3
RGBrgb(48, 98, 195)
HSLhsl(220, 60%, 48%)
HSVhsv(220, 75%, 76%)
CMYKcmyk(75.4%, 49.7%, 0%, 23.5%)
CIE-LABlab(43.22, 17.54, -55.60)
CIE-LCHlch(43.22, 58.30, 287.51°)
OKLaboklab(51.64% -0.0226 -0.1598)
OKLCHoklch(51.64% 0.161 261.9)
XYZxyz(15.4334, 13.3021, 53.3734)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062C3 #C39130
analogous
#30ABC3 #3062C3 #4830C3
triadic
#3062C3 #C33062 #62C330
tetradic
#3062C3 #C330AB #C39130 #30C348
square
#3062C3 #C330AB #C39130 #30C348
split-complementary
#3062C3 #C34830 #ABC330
monochromatic
#183161 #244992 #3062C3 #5A84D6 #8BA9E2

Accessibility & contrast

On white

5.74
#3062C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3062C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062C3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062C3#FFFFFF#000000##FFFFFF
##3062C31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC7
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3062c3;
/* rgb */ color: rgb(48, 98, 195);
/* oklch */ color: oklch(51.6% 0.161 261.9);
Tailwind
colors: {
  custom: {
    50: '#7d8ed6',
    500: '#3062c3',
    950: '#000000',
  },
}
SCSS
$custom: #3062c3;
$custom-light: #7d8ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3062c3",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 195
  },
  "hsl": {
    "h": 219.592,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.16143,
    "h": 261.9
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3062C3

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

Preview Lab → · Contrast checker → · Palette generator →

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