#3061B6#3061B6

#3061B6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.145 H 260.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3061B6
RGBrgb(48, 97, 182)
HSLhsl(218, 58%, 45%)
HSVhsv(218, 74%, 71%)
CMYKcmyk(73.6%, 46.7%, 0%, 28.6%)
CIE-LABlab(42.08, 13.29, -49.86)
CIE-LCHlch(42.08, 51.60, 284.92°)
OKLaboklab(50.5% -0.0237 -0.143)
OKLCHoklch(50.5% 0.145 260.6)
XYZxyz(13.9341, 12.5536, 45.9356)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3061B6 #B68530
analogous
#30A4B6 #3061B6 #4230B6
triadic
#3061B6 #B63061 #61B630
tetradic
#3061B6 #B630A4 #B68530 #30B642
square
#3061B6 #B630A4 #B68530 #30B642
split-complementary
#3061B6 #B64230 #A4B630
monochromatic
#162D55 #234786 #3061B6 #5280D1 #82A4DE

Accessibility & contrast

On white

5.98
#3061B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3061B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3061B6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3061B6#FFFFFF#000000##FFFFFF
##3061B61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346AB9
Deuteranopia (green-blind)
#145EB4
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3061b6;
/* rgb */ color: rgb(48, 97, 182);
/* oklch */ color: oklch(50.5% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#7a8dcc',
    500: '#3061b6',
    950: '#000000',
  },
}
SCSS
$custom: #3061b6;
$custom-light: #7a8dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3061b6",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 182
  },
  "hsl": {
    "h": 218.06,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.14491,
    "h": 260.6
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#3061B6
secondary
#C7AB7B
accent
#A946E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3061B6

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

Preview Lab → · Contrast checker → · Palette generator →

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