#3062BF#3062BF

#3062BF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.156 H 261.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3062BF
RGBrgb(48, 98, 191)
HSLhsl(219, 60%, 47%)
HSVhsv(219, 75%, 75%)
CMYKcmyk(74.9%, 48.7%, 0%, 25.1%)
CIE-LABlab(42.95, 16.03, -53.71)
CIE-LCHlch(42.95, 56.05, 286.62°)
OKLaboklab(51.35% -0.0232 -0.1543)
OKLCHoklch(51.35% 0.156 261.5)
XYZxyz(14.9872, 13.1237, 51.0234)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062BF #BF8D30
analogous
#30AABF #3062BF #4630BF
triadic
#3062BF #BF3062 #62BF30
tetradic
#3062BF #BF30AA #BF8D30 #30BF46
square
#3062BF #BF30AA #BF8D30 #30BF46
split-complementary
#3062BF #BF4630 #AABF30
monochromatic
#17305D #24498E #3062BF #5783D5 #88A7E1

Accessibility & contrast

On white

5.79
#3062BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3062BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062BF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062BF#FFFFFF#000000##FFFFFF
##3062BF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3062bf;
/* rgb */ color: rgb(48, 98, 191);
/* oklch */ color: oklch(51.3% 0.156 261.5);
Tailwind
colors: {
  custom: {
    50: '#7c8ed3',
    500: '#3062bf',
    950: '#000000',
  },
}
SCSS
$custom: #3062bf;
$custom-light: #7c8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#3062bf",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 219.021,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.15601,
    "h": 261.5
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#3062BF
secondary
#CBB180
accent
#AC45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3062BF

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

Preview Lab → · Contrast checker → · Palette generator →

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