#3062B7#3062B7

#3062B7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.145 H 260.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3062B7
RGBrgb(48, 98, 183)
HSLhsl(218, 58%, 45%)
HSVhsv(218, 74%, 72%)
CMYKcmyk(73.8%, 46.4%, 0%, 28.2%)
CIE-LABlab(42.43, 13.02, -49.88)
CIE-LCHlch(42.43, 51.55, 284.63°)
OKLaboklab(50.79% -0.0244 -0.143)
OKLCHoklch(50.79% 0.145 260.3)
XYZxyz(14.1308, 12.7811, 46.5128)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062B7 #B78530
analogous
#30A5B7 #3062B7 #4130B7
triadic
#3062B7 #B73062 #62B730
tetradic
#3062B7 #B730A5 #B78530 #30B741
square
#3062B7 #B730A5 #B78530 #30B741
split-complementary
#3062B7 #B74130 #A5B730
monochromatic
#172E56 #234887 #3062B7 #5282D2 #83A5DE

Accessibility & contrast

On white

5.90
#3062B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3062B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062B7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062B7#FFFFFF#000000##FFFFFF
##3062B71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#165EB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3062b7;
/* rgb */ color: rgb(48, 98, 183);
/* oklch */ color: oklch(50.8% 0.145 260.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ecd',
    500: '#3062b7',
    950: '#000000',
  },
}
SCSS
$custom: #3062b7;
$custom-light: #7a8ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3062b7",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 217.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.14508,
    "h": 260.3
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#3062B7
secondary
#C8AB7B
accent
#A846E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3062B7

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

Preview Lab → · Contrast checker → · Palette generator →

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