#3061B8#3061B8

#3061B8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.148 H 260.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3061B8
RGBrgb(48, 97, 184)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 74%, 72%)
CMYKcmyk(73.9%, 47.3%, 0%, 27.8%)
CIE-LABlab(42.21, 14.04, -50.82)
CIE-LCHlch(42.21, 52.72, 285.44°)
OKLaboklab(50.64% -0.0234 -0.1458)
OKLCHoklch(50.64% 0.148 260.9)
XYZxyz(14.1422, 12.6369, 47.0319)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3061B8 #B88730
analogous
#30A5B8 #3061B8 #4330B8
triadic
#3061B8 #B83061 #61B830
tetradic
#3061B8 #B830A5 #B88730 #30B843
square
#3061B8 #B830A5 #B88730 #30B843
split-complementary
#3061B8 #B84330 #A5B830
monochromatic
#172E57 #234787 #3061B8 #5381D2 #84A4DF

Accessibility & contrast

On white

5.95
#3061B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3061B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3061B8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3061B8#FFFFFF#000000##FFFFFF
##3061B81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#0E5EB6
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3061b8;
/* rgb */ color: rgb(48, 97, 184);
/* oklch */ color: oklch(50.6% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#7a8dce',
    500: '#3061b8',
    950: '#000000',
  },
}
SCSS
$custom: #3061b8;
$custom-light: #7a8dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3061b8",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 218.382,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.14766,
    "h": 260.9
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#3061B8
secondary
#C8AD7C
accent
#AA46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3061B8

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

Preview Lab → · Contrast checker → · Palette generator →

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