#3041A3#3041A3

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

Color values

HEX#3041A3
RGBrgb(48, 65, 163)
HSLhsl(231, 55%, 41%)
HSVhsv(231, 71%, 64%)
CMYKcmyk(70.6%, 60.1%, 0%, 36.1%)
CIE-LABlab(31.93, 27.22, -55.01)
CIE-LCHlch(31.93, 61.38, 296.33°)
OKLaboklab(42.37% 0.0016 -0.1586)
OKLCHoklch(42.37% 0.159 270.6)
XYZxyz(9.7178, 7.0524, 35.4923)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041A3 #A39230
analogous
#307BA3 #3041A3 #5930A3
triadic
#3041A3 #A33041 #41A330
tetradic
#3041A3 #A3307B #A39230 #30A359
square
#3041A3 #A3307B #A39230 #30A359
split-complementary
#3041A3 #A35930 #7BA330
monochromatic
#141B44 #222E74 #3041A3 #475AC9 #7785D7

Accessibility & contrast

On white

8.71
#3041A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3041A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041A3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041A3#FFFFFF#000000##FFFFFF
##3041A31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3041a3;
/* rgb */ color: rgb(48, 65, 163);
/* oklch */ color: oklch(42.4% 0.159 270.6);
Tailwind
colors: {
  custom: {
    50: '#7875bf',
    500: '#3041a3',
    950: '#000000',
  },
}
SCSS
$custom: #3041a3;
$custom-light: #7875bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3041a3",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 231.13,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.15864,
    "h": 270.6
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3041A3

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

Preview Lab → · Contrast checker → · Palette generator →

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