#3046B6#3046B6

#3046B6 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.178 H 269.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3046B6
RGBrgb(48, 70, 182)
HSLhsl(230, 58%, 45%)
HSVhsv(230, 74%, 71%)
CMYKcmyk(73.6%, 61.5%, 0%, 28.6%)
CIE-LABlab(34.77, 30.94, -61.70)
CIE-LCHlch(34.77, 69.02, 296.63°)
OKLaboklab(44.97% -0.0023 -0.1782)
OKLCHoklch(44.97% 0.178 269.3)
XYZxyz(11.8497, 8.3848, 45.2408)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3046B6 #B6A030
analogous
#3089B6 #3046B6 #5D30B6
triadic
#3046B6 #B63046 #46B630
tetradic
#3046B6 #B63089 #B6A030 #30B65D
square
#3046B6 #B63089 #B6A030 #30B65D
split-complementary
#3046B6 #B65D30 #89B630
monochromatic
#162155 #233386 #3046B6 #5267D1 #8291DE

Accessibility & contrast

On white

7.84
#3046B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3046B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3046B6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3046B6#FFFFFF#000000##FFFFFF
##3046B61.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3046b6;
/* rgb */ color: rgb(48, 70, 182);
/* oklch */ color: oklch(45.0% 0.178 269.3);
Tailwind
colors: {
  custom: {
    50: '#7c79cd',
    500: '#3046b6',
    950: '#000000',
  },
}
SCSS
$custom: #3046b6;
$custom-light: #7c79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3046b6",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 230.149,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.17823,
    "h": 269.3
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#3046B6
secondary
#C7BB7B
accent
#C846E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3046B6

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

Preview Lab → · Contrast checker → · Palette generator →

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