#3046B4#3046B4

#3046B4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.176 H 269.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3046B4
RGBrgb(48, 70, 180)
HSLhsl(230, 58%, 45%)
HSVhsv(230, 73%, 71%)
CMYKcmyk(73.3%, 61.1%, 0%, 29.4%)
CIE-LABlab(34.61, 30.20, -60.79)
CIE-LCHlch(34.61, 67.88, 296.42°)
OKLaboklab(44.8% -0.0023 -0.1755)
OKLCHoklch(44.8% 0.176 269.3)
XYZxyz(11.6445, 8.3028, 44.1601)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3046B4 #B49E30
analogous
#3088B4 #3046B4 #5C30B4
triadic
#3046B4 #B43046 #46B430
tetradic
#3046B4 #B43088 #B49E30 #30B45C
square
#3046B4 #B43088 #B49E30 #30B45C
split-complementary
#3046B4 #B45C30 #88B430
monochromatic
#162053 #233384 #3046B4 #5166D1 #8190DD

Accessibility & contrast

On white

7.89
#3046B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3046B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3046B4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3046B4#FFFFFF#000000##FFFFFF
##3046B41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3046b4;
/* rgb */ color: rgb(48, 70, 180);
/* oklch */ color: oklch(44.8% 0.176 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b79cb',
    500: '#3046b4',
    950: '#000000',
  },
}
SCSS
$custom: #3046b4;
$custom-light: #7b79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3046b4",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 230,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44797,
    "c": 0.17555,
    "h": 269.3
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#3046B4
secondary
#C6BA79
accent
#C747E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3046B4

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

Preview Lab → · Contrast checker → · Palette generator →

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