#3041A4#3041A4

#3041A4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.160 H 270.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3041A4
RGBrgb(48, 65, 164)
HSLhsl(231, 55%, 42%)
HSVhsv(231, 71%, 64%)
CMYKcmyk(70.7%, 60.4%, 0%, 35.7%)
CIE-LABlab(32.01, 27.59, -55.48)
CIE-LCHlch(32.01, 61.97, 296.44°)
OKLaboklab(42.46% 0.0016 -0.16)
OKLCHoklch(42.46% 0.16 270.6)
XYZxyz(9.8078, 7.0883, 35.9661)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041A4 #A49330
analogous
#307BA4 #3041A4 #5930A4
triadic
#3041A4 #A43041 #41A430
tetradic
#3041A4 #A4307B #A49330 #30A459
square
#3041A4 #A4307B #A49330 #30A459
split-complementary
#3041A4 #A45930 #7BA430
monochromatic
#141B45 #222E75 #3041A4 #485BC9 #7785D7

Accessibility & contrast

On white

8.69
#3041A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3041A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041A4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041A4#FFFFFF#000000##FFFFFF
##3041A41.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3041a4;
/* rgb */ color: rgb(48, 65, 164);
/* oklch */ color: oklch(42.5% 0.160 270.6);
Tailwind
colors: {
  custom: {
    50: '#7875c0',
    500: '#3041a4',
    950: '#000000',
  },
}
SCSS
$custom: #3041a4;
$custom-light: #7875c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3041a4",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 231.207,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4246,
    "c": 0.16002,
    "h": 270.6
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#3041A4
secondary
#BFB470
accent
#C84ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3041A4

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

Preview Lab → · Contrast checker → · Palette generator →

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