#3062B8#3062B8

#3062B8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.9% C 0.146 H 260.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3062B8
RGBrgb(48, 98, 184)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 72%)
CMYKcmyk(73.9%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.50, 13.39, -50.36)
CIE-LCHlch(42.50, 52.11, 284.89°)
OKLaboklab(50.86% -0.0243 -0.1444)
OKLCHoklch(50.86% 0.146 260.5)
XYZxyz(14.2352, 12.8229, 47.0629)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062B8 #B88630
analogous
#30A6B8 #3062B8 #4230B8
triadic
#3062B8 #B83062 #62B830
tetradic
#3062B8 #B830A6 #B88630 #30B842
square
#3062B8 #B830A6 #B88630 #30B842
split-complementary
#3062B8 #B84230 #A6B830
monochromatic
#172E57 #234887 #3062B8 #5382D2 #84A5DF

Accessibility & contrast

On white

5.89
#3062B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3062B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062B8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062B8#FFFFFF#000000##FFFFFF
##3062B81.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3062b8;
/* rgb */ color: rgb(48, 98, 184);
/* oklch */ color: oklch(50.9% 0.146 260.5);
Tailwind
colors: {
  custom: {
    50: '#7a8ece',
    500: '#3062b8',
    950: '#000000',
  },
}
SCSS
$custom: #3062b8;
$custom-light: #7a8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3062b8",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 217.941,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50855,
    "c": 0.14645,
    "h": 260.5
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#3062B8
secondary
#C8AC7C
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3062B8

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

Preview Lab → · Contrast checker → · Palette generator →

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