#3062B5#3062B5

#3062B5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.142 H 260.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3062B5
RGBrgb(48, 98, 181)
HSLhsl(217, 58%, 45%)
HSVhsv(217, 73%, 71%)
CMYKcmyk(73.5%, 45.9%, 0%, 29%)
CIE-LABlab(42.31, 12.26, -48.92)
CIE-LCHlch(42.31, 50.43, 284.08°)
OKLaboklab(50.65% -0.0248 -0.1402)
OKLCHoklch(50.65% 0.142 260)
XYZxyz(13.9241, 12.6984, 45.4243)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062B5 #B58330
analogous
#30A4B5 #3062B5 #4130B5
triadic
#3062B5 #B53062 #62B530
tetradic
#3062B5 #B530A4 #B58330 #30B541
square
#3062B5 #B530A4 #B58330 #30B541
split-complementary
#3062B5 #B54130 #A4B530
monochromatic
#162E54 #234885 #3062B5 #5181D1 #82A4DE

Accessibility & contrast

On white

5.93
#3062B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3062B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062B5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062B5#FFFFFF#000000##FFFFFF
##3062B51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3062b5;
/* rgb */ color: rgb(48, 98, 181);
/* oklch */ color: oklch(50.6% 0.142 260.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ecc',
    500: '#3062b5',
    950: '#000000',
  },
}
SCSS
$custom: #3062b5;
$custom-light: #7a8ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3062b5",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 217.444,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.14234,
    "h": 260
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#3062B5
secondary
#C7AA7A
accent
#A746E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3062B5

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

Preview Lab → · Contrast checker → · Palette generator →

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