#3062B9#3062B9

#3062B9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.148 H 260.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3062B9
RGBrgb(48, 98, 185)
HSLhsl(218, 59%, 46%)
HSVhsv(218, 74%, 73%)
CMYKcmyk(74.1%, 47%, 0%, 27.5%)
CIE-LABlab(42.56, 13.77, -50.85)
CIE-LCHlch(42.56, 52.68, 285.16°)
OKLaboklab(50.93% -0.0241 -0.1458)
OKLCHoklch(50.93% 0.148 260.6)
XYZxyz(14.3404, 12.8649, 47.6169)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3062B9 #B98730
analogous
#30A6B9 #3062B9 #4230B9
triadic
#3062B9 #B93062 #62B930
tetradic
#3062B9 #B930A6 #B98730 #30B942
square
#3062B9 #B930A6 #B98730 #30B942
split-complementary
#3062B9 #B94230 #A6B930
monochromatic
#172F58 #234888 #3062B9 #5482D3 #84A5DF

Accessibility & contrast

On white

5.88
#3062B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3062B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3062B9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3062B9#FFFFFF#000000##FFFFFF
##3062B91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336BBC
Deuteranopia (green-blind)
#105FB7
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3062b9;
/* rgb */ color: rgb(48, 98, 185);
/* oklch */ color: oklch(50.9% 0.148 260.6);
Tailwind
colors: {
  custom: {
    50: '#7b8ece',
    500: '#3062b9',
    950: '#000000',
  },
}
SCSS
$custom: #3062b9;
$custom-light: #7b8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#3062b9",
  "rgb": {
    "r": 48,
    "g": 98,
    "b": 185
  },
  "hsl": {
    "h": 218.102,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.14783,
    "h": 260.6
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#3062B9
secondary
#C9AD7C
accent
#A946E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3062B9

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

Preview Lab → · Contrast checker → · Palette generator →

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