#3041B9#3041B9

#3041B9 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.188 H 270.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3041B9
RGBrgb(48, 65, 185)
HSLhsl(233, 59%, 46%)
HSVhsv(233, 74%, 73%)
CMYKcmyk(74.1%, 64.9%, 0%, 27.5%)
CIE-LABlab(33.80, 35.24, -65.07)
CIE-LCHlch(33.80, 74.00, 298.44°)
OKLaboklab(44.33% 0.0009 -0.1881)
OKLCHoklch(44.33% 0.188 270.3)
XYZxyz(11.8632, 7.9105, 46.7912)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041B9 #B9A830
analogous
#3085B9 #3041B9 #6430B9
triadic
#3041B9 #B93041 #41B930
tetradic
#3041B9 #B93085 #B9A830 #30B964
square
#3041B9 #B93085 #B9A830 #30B964
split-complementary
#3041B9 #B96430 #85B930
monochromatic
#171F58 #233088 #3041B9 #5463D3 #8490DF

Accessibility & contrast

On white

8.13
#3041B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3041B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041B9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041B9#FFFFFF#000000##FFFFFF
##3041B91.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3041b9;
/* rgb */ color: rgb(48, 65, 185);
/* oklch */ color: oklch(44.3% 0.188 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d75cf',
    500: '#3041b9',
    950: '#000000',
  },
}
SCSS
$custom: #3041b9;
$custom-light: #7d75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3041b9",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 232.555,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.18813,
    "h": 270.3
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#3041B9
secondary
#C9BF7C
accent
#CF46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3041B9

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

Preview Lab → · Contrast checker → · Palette generator →

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