#3041BB#3041BB

#3041BB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.191 H 270.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3041BB
RGBrgb(48, 65, 187)
HSLhsl(233, 59%, 46%)
HSVhsv(233, 74%, 73%)
CMYKcmyk(74.3%, 65.2%, 0%, 26.7%)
CIE-LABlab(33.97, 35.96, -65.96)
CIE-LCHlch(33.97, 75.12, 298.60°)
OKLaboklab(44.52% 0.0008 -0.1907)
OKLCHoklch(44.52% 0.191 270.2)
XYZxyz(12.0758, 7.9955, 47.9109)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041BB #BBAA30
analogous
#3086BB #3041BB #6430BB
triadic
#3041BB #BB3041 #41BB30
tetradic
#3041BB #BB3086 #BBAA30 #30BB64
square
#3041BB #BB3086 #BBAA30 #30BB64
split-complementary
#3041BB #BB6430 #86BB30
monochromatic
#171F5A #23308A #3041BB #5564D3 #8691E0

Accessibility & contrast

On white

8.08
#3041BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3041BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041BB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041BB#FFFFFF#000000##FFFFFF
##3041BB1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3041bb;
/* rgb */ color: rgb(48, 65, 187);
/* oklch */ color: oklch(44.5% 0.191 270.2);
Tailwind
colors: {
  custom: {
    50: '#7d75d1',
    500: '#3041bb',
    950: '#000000',
  },
}
SCSS
$custom: #3041bb;
$custom-light: #7d75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3041bb",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 232.662,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.19073,
    "h": 270.2
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#3041BB
secondary
#C9C07D
accent
#CF45E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3041BB

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

Preview Lab → · Contrast checker → · Palette generator →

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