#3062AE#3062AE

#3062AE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.133 H 258.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#3062AE
RGBrgb(48, 98, 174)
HSLhsl(216, 57%, 44%)
HSVhsv(216, 72%, 68%)
CMYKcmyk(72.4%, 43.7%, 0%, 31.8%)
CIE-LABlab(41.87, 9.63, -45.50)
CIE-LCHlch(41.87, 46.51, 281.95°)
OKLaboklab(50.18% -0.0261 -0.1301)
OKLCHoklch(50.18% 0.133 258.7)
XYZxyz(13.2238, 12.4183, 41.7362)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062AE #AE7C30
analogous
#30A1AE #3062AE #3D30AE
triadic
#3062AE #AE3062 #62AE30
tetradic
#3062AE #AE30A1 #AE7C30 #30AE3D
square
#3062AE #AE30A1 #AE7C30 #30AE3D
split-complementary
#3062AE #AE3D30 #A1AE30
monochromatic
#162C4E #23477E #3062AE #4D80CE #7DA3DB

Accessibility & contrast

On white

6.03
#3062AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3062AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062AE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062AE#FFFFFF#000000##FFFFFF
##3062AE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3062ae;
/* rgb */ color: rgb(48, 98, 174);
/* oklch */ color: oklch(50.2% 0.133 258.7);
Tailwind
colors: {
  custom: {
    50: '#788ec6',
    500: '#3062ae',
    950: '#000000',
  },
}
SCSS
$custom: #3062ae;
$custom-light: #788ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3062ae",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 216.19,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.13272,
    "h": 258.7
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3062AE

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

Preview Lab → · Contrast checker → · Palette generator →

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