#3061BA#3061BA

#3061BA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.150 H 261.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3061BA
RGBrgb(48, 97, 186)
HSLhsl(219, 59%, 46%)
HSVhsv(219, 74%, 73%)
CMYKcmyk(74.2%, 47.8%, 0%, 27.1%)
CIE-LABlab(42.34, 14.79, -51.78)
CIE-LCHlch(42.34, 53.85, 285.95°)
OKLaboklab(50.78% -0.0231 -0.1486)
OKLCHoklch(50.78% 0.15 261.2)
XYZxyz(14.3534, 12.7214, 48.1439)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3061BA #BA8930
analogous
#30A6BA #3061BA #4430BA
triadic
#3061BA #BA3061 #61BA30
tetradic
#3061BA #BA30A6 #BA8930 #30BA44
square
#3061BA #BA30A6 #BA8930 #30BA44
split-complementary
#3061BA #BA4430 #A6BA30
monochromatic
#172E59 #234889 #3061BA #5481D3 #85A5DF

Accessibility & contrast

On white

5.92
#3061BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3061BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3061BA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3061BA#FFFFFF#000000##FFFFFF
##3061BA1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBD
Deuteranopia (green-blind)
#065EB8
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3061ba;
/* rgb */ color: rgb(48, 97, 186);
/* oklch */ color: oklch(50.8% 0.150 261.2);
Tailwind
colors: {
  custom: {
    50: '#7b8dcf',
    500: '#3061ba',
    950: '#000000',
  },
}
SCSS
$custom: #3061ba;
$custom-light: #7b8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3061ba",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 218.696,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.1504,
    "h": 261.2
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#3061BA
secondary
#C9AE7D
accent
#AB46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3061BA

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

Preview Lab → · Contrast checker → · Palette generator →

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