#3061BB#3061BB

#3061BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.152 H 261.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3061BB
RGBrgb(48, 97, 187)
HSLhsl(219, 59%, 46%)
HSVhsv(219, 74%, 73%)
CMYKcmyk(74.3%, 48.1%, 0%, 26.7%)
CIE-LABlab(42.41, 15.17, -52.26)
CIE-LCHlch(42.41, 54.42, 286.19°)
OKLaboklab(50.85% -0.0229 -0.15)
OKLCHoklch(50.85% 0.152 261.3)
XYZxyz(14.4600, 12.7640, 48.7057)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3061BB #BB8A30
analogous
#30A6BB #3061BB #4430BB
triadic
#3061BB #BB3061 #61BB30
tetradic
#3061BB #BB30A6 #BB8A30 #30BB44
square
#3061BB #BB30A6 #BB8A30 #30BB44
split-complementary
#3061BB #BB4430 #A6BB30
monochromatic
#172E5A #23488A #3061BB #5581D3 #86A5E0

Accessibility & contrast

On white

5.91
#3061BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3061BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3061BB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3061BB#FFFFFF#000000##FFFFFF
##3061BB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#015EB9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3061bb;
/* rgb */ color: rgb(48, 97, 187);
/* oklch */ color: oklch(50.8% 0.152 261.3);
Tailwind
colors: {
  custom: {
    50: '#7b8dd0',
    500: '#3061bb',
    950: '#000000',
  },
}
SCSS
$custom: #3061bb;
$custom-light: #7b8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3061bb",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 218.849,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.15176,
    "h": 261.3
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#3061BB
secondary
#C9AF7D
accent
#AB45E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3061BB

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

Preview Lab → · Contrast checker → · Palette generator →

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