#3041BC#3041BC

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

Color values

HEX#3041BC
RGBrgb(48, 65, 188)
HSLhsl(233, 59%, 46%)
HSVhsv(233, 74%, 74%)
CMYKcmyk(74.5%, 65.4%, 0%, 26.3%)
CIE-LABlab(34.06, 36.31, -66.40)
CIE-LCHlch(34.06, 75.68, 298.67°)
OKLaboklab(44.61% 0.0007 -0.192)
OKLCHoklch(44.61% 0.192 270.2)
XYZxyz(12.1832, 8.0385, 48.4767)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041BC #BCAB30
analogous
#3087BC #3041BC #6530BC
triadic
#3041BC #BC3041 #41BC30
tetradic
#3041BC #BC3087 #BCAB30 #30BC65
square
#3041BC #BC3087 #BCAB30 #30BC65
split-complementary
#3041BC #BC6530 #87BC30
monochromatic
#171F5A #24308B #3041BC #5565D4 #8691E0

Accessibility & contrast

On white

8.05
#3041BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3041BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041BC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041BC#FFFFFF#000000##FFFFFF
##3041BC1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3041bc;
/* rgb */ color: rgb(48, 65, 188);
/* oklch */ color: oklch(44.6% 0.192 270.2);
Tailwind
colors: {
  custom: {
    50: '#7d75d1',
    500: '#3041bc',
    950: '#000000',
  },
}
SCSS
$custom: #3041bc;
$custom-light: #7d75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3041bc",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 232.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.19203,
    "h": 270.2
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#3041BC
secondary
#CAC17E
accent
#CF45E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #3041BC

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

Preview Lab → · Contrast checker → · Palette generator →

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