#3041B5#3041B5

#3041B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.183 H 270.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3041B5
RGBrgb(48, 65, 181)
HSLhsl(232, 58%, 45%)
HSVhsv(232, 73%, 71%)
CMYKcmyk(73.5%, 64.1%, 0%, 29%)
CIE-LABlab(33.44, 33.80, -63.28)
CIE-LCHlch(33.44, 71.74, 298.11°)
OKLaboklab(43.97% 0.0011 -0.1829)
OKLCHoklch(43.97% 0.183 270.4)
XYZxyz(11.4469, 7.7440, 44.5986)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041B5 #B5A430
analogous
#3083B5 #3041B5 #6230B5
triadic
#3041B5 #B53041 #41B530
tetradic
#3041B5 #B53083 #B5A430 #30B562
square
#3041B5 #B53083 #B5A430 #30B562
split-complementary
#3041B5 #B56230 #83B530
monochromatic
#161E54 #233085 #3041B5 #5162D1 #828DDE

Accessibility & contrast

On white

8.24
#3041B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3041B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041B5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041B5#FFFFFF#000000##FFFFFF
##3041B51.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3041b5;
/* rgb */ color: rgb(48, 65, 181);
/* oklch */ color: oklch(44.0% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c75cc',
    500: '#3041b5',
    950: '#000000',
  },
}
SCSS
$custom: #3041b5;
$custom-light: #7c75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3041b5",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 232.331,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.18289,
    "h": 270.4
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#3041B5
secondary
#C7BD7A
accent
#CE46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3041B5

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

Preview Lab → · Contrast checker → · Palette generator →

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