#3062AB#3062AB

#3062AB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.0% C 0.129 H 258.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3062AB
RGBrgb(48, 98, 171)
HSLhsl(216, 56%, 43%)
HSVhsv(216, 72%, 67%)
CMYKcmyk(71.9%, 42.7%, 0%, 32.9%)
CIE-LABlab(41.69, 8.51, -44.02)
CIE-LCHlch(41.69, 44.84, 280.94°)
OKLaboklab(49.98% -0.0267 -0.1258)
OKLCHoklch(49.98% 0.129 258)
XYZxyz(12.9346, 12.3026, 40.2131)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062AB #AB7930
analogous
#309FAB #3062AB #3C30AB
triadic
#3062AB #AB3062 #62AB30
tetradic
#3062AB #AB309F #AB7930 #30AB3C
square
#3062AB #AB309F #AB7930 #30AB3C
split-complementary
#3062AB #AB3C30 #9FAB30
monochromatic
#152B4B #23477B #3062AB #4C80CD #7BA2DA

Accessibility & contrast

On white

6.07
#3062AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3062AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062AB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062AB#FFFFFF#000000##FFFFFF
##3062AB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AE
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3062ab;
/* rgb */ color: rgb(48, 98, 171);
/* oklch */ color: oklch(50.0% 0.129 258.0);
Tailwind
colors: {
  custom: {
    50: '#788ec4',
    500: '#3062ab',
    950: '#000000',
  },
}
SCSS
$custom: #3062ab;
$custom-light: #788ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3062ab",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 215.61,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.12859,
    "h": 258
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#3062AB
secondary
#C3A374
accent
#A248DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3062AB

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

Preview Lab → · Contrast checker → · Palette generator →

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