#3062BC#3062BC

#3062BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.152 H 261.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3062BC
RGBrgb(48, 98, 188)
HSLhsl(219, 59%, 46%)
HSVhsv(219, 74%, 74%)
CMYKcmyk(74.5%, 47.9%, 0%, 26.3%)
CIE-LABlab(42.75, 14.90, -52.28)
CIE-LCHlch(42.75, 54.36, 285.91°)
OKLaboklab(51.14% -0.0236 -0.1501)
OKLCHoklch(51.14% 0.152 261.1)
XYZxyz(14.6604, 12.9930, 49.3024)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062BC #BC8A30
analogous
#30A8BC #3062BC #4430BC
triadic
#3062BC #BC3062 #62BC30
tetradic
#3062BC #BC30A8 #BC8A30 #30BC44
square
#3062BC #BC30A8 #BC8A30 #30BC44
split-complementary
#3062BC #BC4430 #A8BC30
monochromatic
#172F5A #24498B #3062BC #5583D4 #86A6E0

Accessibility & contrast

On white

5.83
#3062BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3062BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062BC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062BC#FFFFFF#000000##FFFFFF
##3062BC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#045FBA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3062bc;
/* rgb */ color: rgb(48, 98, 188);
/* oklch */ color: oklch(51.1% 0.152 261.1);
Tailwind
colors: {
  custom: {
    50: '#7b8ed1',
    500: '#3062bc',
    950: '#000000',
  },
}
SCSS
$custom: #3062bc;
$custom-light: #7b8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#3062bc",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 218.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.15192,
    "h": 261.1
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#3062BC
secondary
#CAAF7E
accent
#AA45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3062BC

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

Preview Lab → · Contrast checker → · Palette generator →

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