#3061BC#3061BC

#3061BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.9% C 0.153 H 261.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3061BC
RGBrgb(48, 97, 188)
HSLhsl(219, 59%, 46%)
HSVhsv(219, 74%, 74%)
CMYKcmyk(74.5%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.47, 15.55, -52.74)
CIE-LCHlch(42.47, 54.98, 286.43°)
OKLaboklab(50.92% -0.0228 -0.1514)
OKLCHoklch(50.92% 0.153 261.4)
XYZxyz(14.5675, 12.8070, 49.2715)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3061BC #BC8B30
analogous
#30A7BC #3061BC #4530BC
triadic
#3061BC #BC3061 #61BC30
tetradic
#3061BC #BC30A7 #BC8B30 #30BC45
square
#3061BC #BC30A7 #BC8B30 #30BC45
split-complementary
#3061BC #BC4530 #A7BC30
monochromatic
#172F5A #24488B #3061BC #5582D4 #86A6E0

Accessibility & contrast

On white

5.90
#3061BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3061BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3061BC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3061BC#FFFFFF#000000##FFFFFF
##3061BC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3061bc;
/* rgb */ color: rgb(48, 97, 188);
/* oklch */ color: oklch(50.9% 0.153 261.4);
Tailwind
colors: {
  custom: {
    50: '#7b8dd1',
    500: '#3061bc',
    950: '#000000',
  },
}
SCSS
$custom: #3061bc;
$custom-light: #7b8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3061bc",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 219,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.15313,
    "h": 261.4
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#3061BC
secondary
#CAAF7E
accent
#AB45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3061BC

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

Preview Lab → · Contrast checker → · Palette generator →

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