#3062AF#3062AF

#3062AF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.2% C 0.134 H 258.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3062AF
RGBrgb(48, 98, 175)
HSLhsl(216, 57%, 44%)
HSVhsv(216, 73%, 69%)
CMYKcmyk(72.6%, 44%, 0%, 31.4%)
CIE-LABlab(41.93, 10.01, -45.99)
CIE-LCHlch(41.93, 47.07, 282.28°)
OKLaboklab(50.24% -0.0259 -0.1316)
OKLCHoklch(50.24% 0.134 258.9)
XYZxyz(13.3217, 12.4574, 42.2516)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062AF #AF7D30
analogous
#30A1AF #3062AF #3D30AF
triadic
#3062AF #AF3062 #62AF30
tetradic
#3062AF #AF30A1 #AF7D30 #30AF3D
square
#3062AF #AF30A1 #AF7D30 #30AF3D
split-complementary
#3062AF #AF3D30 #A1AF30
monochromatic
#162C4F #23477F #3062AF #4E80CE #7EA3DC

Accessibility & contrast

On white

6.01
#3062AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3062AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062AF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062AF#FFFFFF#000000##FFFFFF
##3062AF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#255EAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3062af;
/* rgb */ color: rgb(48, 98, 175);
/* oklch */ color: oklch(50.2% 0.134 258.9);
Tailwind
colors: {
  custom: {
    50: '#798ec7',
    500: '#3062af',
    950: '#000000',
  },
}
SCSS
$custom: #3062af;
$custom-light: #798ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3062af",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 216.378,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.13409,
    "h": 258.9
  },
  "luminance": 0.12459
}

Semantic roles & 50–950 ramp

primary
#3062AF
secondary
#C4A676
accent
#A448E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3062AF

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

Preview Lab → · Contrast checker → · Palette generator →

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