#3062B3#3062B3

#3062B3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.140 H 259.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3062B3
RGBrgb(48, 98, 179)
HSLhsl(217, 58%, 45%)
HSVhsv(217, 73%, 70%)
CMYKcmyk(73.2%, 45.3%, 0%, 29.8%)
CIE-LABlab(42.18, 11.51, -47.95)
CIE-LCHlch(42.18, 49.31, 283.50°)
OKLaboklab(50.51% -0.0251 -0.1373)
OKLCHoklch(50.51% 0.14 259.6)
XYZxyz(13.7203, 12.6169, 44.3513)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062B3 #B38130
analogous
#30A4B3 #3062B3 #3F30B3
triadic
#3062B3 #B33062 #62B330
tetradic
#3062B3 #B330A4 #B38130 #30B33F
square
#3062B3 #B330A4 #B38130 #30B33F
split-complementary
#3062B3 #B33F30 #A4B330
monochromatic
#162D52 #234883 #3062B3 #5081D0 #80A4DD

Accessibility & contrast

On white

5.96
#3062B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3062B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062B3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062B3#FFFFFF#000000##FFFFFF
##3062B31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3062b3;
/* rgb */ color: rgb(48, 98, 179);
/* oklch */ color: oklch(50.5% 0.140 259.6);
Tailwind
colors: {
  custom: {
    50: '#798eca',
    500: '#3062b3',
    950: '#000000',
  },
}
SCSS
$custom: #3062b3;
$custom-light: #798eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3062b3",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 217.099,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50511,
    "c": 0.1396,
    "h": 259.6
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#3062B3
secondary
#C6A979
accent
#A647E1
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3062B3

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

Preview Lab → · Contrast checker → · Palette generator →

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