#3041B2#3041B2

#3041B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.179 H 270.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3041B2
RGBrgb(48, 65, 178)
HSLhsl(232, 58%, 44%)
HSVhsv(232, 73%, 70%)
CMYKcmyk(73%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.18, 32.71, -61.93)
CIE-LCHlch(33.18, 70.04, 297.84°)
OKLaboklab(43.69% 0.0013 -0.1789)
OKLCHoklch(43.69% 0.179 270.4)
XYZxyz(11.1424, 7.6222, 42.9949)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041B2 #B2A130
analogous
#3082B2 #3041B2 #6030B2
triadic
#3041B2 #B23041 #41B230
tetradic
#3041B2 #B23082 #B2A130 #30B260
square
#3041B2 #B23082 #B2A130 #30B260
split-complementary
#3041B2 #B26030 #82B230
monochromatic
#161E52 #232F82 #3041B2 #5060D0 #808CDD

Accessibility & contrast

On white

8.32
#3041B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3041B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041B2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041B2#FFFFFF#000000##FFFFFF
##3041B21.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3041b2;
/* rgb */ color: rgb(48, 65, 178);
/* oklch */ color: oklch(43.7% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b75ca',
    500: '#3041b2',
    950: '#000000',
  },
}
SCSS
$custom: #3041b2;
$custom-light: #7b75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3041b2",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 232.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.17893,
    "h": 270.4
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#3041B2
secondary
#C6BB78
accent
#CD47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3041B2

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

Preview Lab → · Contrast checker → · Palette generator →

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