#3041B6#3041B6

#3041B6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.184 H 270.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3041B6
RGBrgb(48, 65, 182)
HSLhsl(232, 58%, 45%)
HSVhsv(232, 74%, 71%)
CMYKcmyk(73.6%, 64.3%, 0%, 28.6%)
CIE-LABlab(33.53, 34.16, -63.73)
CIE-LCHlch(33.53, 72.31, 298.19°)
OKLaboklab(44.06% 0.0011 -0.1842)
OKLCHoklch(44.06% 0.184 270.3)
XYZxyz(11.5498, 7.7852, 45.1409)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041B6 #B6A530
analogous
#3084B6 #3041B6 #6230B6
triadic
#3041B6 #B63041 #41B630
tetradic
#3041B6 #B63084 #B6A530 #30B662
square
#3041B6 #B63084 #B6A530 #30B662
split-complementary
#3041B6 #B66230 #84B630
monochromatic
#161E55 #233086 #3041B6 #5262D1 #828EDE

Accessibility & contrast

On white

8.21
#3041B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3041B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041B6
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041B6#FFFFFF#000000##FFFFFF
##3041B61.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3041b6;
/* rgb */ color: rgb(48, 65, 182);
/* oklch */ color: oklch(44.1% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c75cd',
    500: '#3041b6',
    950: '#000000',
  },
}
SCSS
$custom: #3041b6;
$custom-light: #7c75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3041b6",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 232.388,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44058,
    "c": 0.18421,
    "h": 270.3
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#3041B6
secondary
#C7BE7B
accent
#CE46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3041B6

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

Preview Lab → · Contrast checker → · Palette generator →

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