#3041B3#3041B3

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

Color values

HEX#3041B3
RGBrgb(48, 65, 179)
HSLhsl(232, 58%, 45%)
HSVhsv(232, 73%, 70%)
CMYKcmyk(73.2%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.27, 33.07, -62.38)
CIE-LCHlch(33.27, 70.61, 297.93°)
OKLaboklab(43.79% 0.0012 -0.1803)
OKLCHoklch(43.79% 0.18 270.4)
XYZxyz(11.2431, 7.6625, 43.5256)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041B3 #B3A230
analogous
#3082B3 #3041B3 #6130B3
triadic
#3041B3 #B33041 #41B330
tetradic
#3041B3 #B33082 #B3A230 #30B361
square
#3041B3 #B33082 #B3A230 #30B361
split-complementary
#3041B3 #B36130 #82B330
monochromatic
#161E52 #232F83 #3041B3 #5061D0 #808CDD

Accessibility & contrast

On white

8.29
#3041B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3041B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041B3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041B3#FFFFFF#000000##FFFFFF
##3041B31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3041b3;
/* rgb */ color: rgb(48, 65, 179);
/* oklch */ color: oklch(43.8% 0.180 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b75cb',
    500: '#3041b3',
    950: '#000000',
  },
}
SCSS
$custom: #3041b3;
$custom-light: #7b75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3041b3",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 232.214,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43785,
    "c": 0.18026,
    "h": 270.4
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#3041B3
secondary
#C6BC79
accent
#CD47E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3041B3

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

Preview Lab → · Contrast checker → · Palette generator →

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