#3061B2#3061B2

#3061B2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.139 H 259.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3061B2
RGBrgb(48, 97, 178)
HSLhsl(217, 58%, 44%)
HSVhsv(217, 73%, 70%)
CMYKcmyk(73%, 45.5%, 0%, 30.2%)
CIE-LABlab(41.83, 11.78, -47.92)
CIE-LCHlch(41.83, 49.35, 283.81°)
OKLaboklab(50.22% -0.0244 -0.1373)
OKLCHoklch(50.22% 0.139 259.9)
XYZxyz(13.5266, 12.3907, 43.7896)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3061B2 #B28130
analogous
#30A2B2 #3061B2 #4030B2
triadic
#3061B2 #B23061 #61B230
tetradic
#3061B2 #B230A2 #B28130 #30B240
square
#3061B2 #B230A2 #B28130 #30B240
split-complementary
#3061B2 #B24030 #A2B230
monochromatic
#162C52 #234782 #3061B2 #5080D0 #80A3DD

Accessibility & contrast

On white

6.04
#3061B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3061B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3061B2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3061B2#FFFFFF#000000##FFFFFF
##3061B21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3061b2;
/* rgb */ color: rgb(48, 97, 178);
/* oklch */ color: oklch(50.2% 0.139 259.9);
Tailwind
colors: {
  custom: {
    50: '#798dc9',
    500: '#3061b2',
    950: '#000000',
  },
}
SCSS
$custom: #3061b2;
$custom-light: #798dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3061b2",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 217.385,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.13941,
    "h": 259.9
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#3061B2
secondary
#C6A878
accent
#A747E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3061B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3061B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva