#3041AE#3041AE

#3041AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.174 H 270.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3041AE
RGBrgb(48, 65, 174)
HSLhsl(232, 57%, 44%)
HSVhsv(232, 72%, 68%)
CMYKcmyk(72.4%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.84, 31.26, -60.11)
CIE-LCHlch(32.84, 67.75, 297.47°)
OKLaboklab(43.34% 0.0014 -0.1736)
OKLCHoklch(43.34% 0.174 270.5)
XYZxyz(10.7466, 7.4639, 40.9105)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041AE #AE9D30
analogous
#3080AE #3041AE #5E30AE
triadic
#3041AE #AE3041 #41AE30
tetradic
#3041AE #AE3080 #AE9D30 #30AE5E
square
#3041AE #AE3080 #AE9D30 #30AE5E
split-complementary
#3041AE #AE5E30 #80AE30
monochromatic
#161D4E #232F7E #3041AE #4D5FCE #7D8ADB

Accessibility & contrast

On white

8.42
#3041AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3041AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041AE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041AE#FFFFFF#000000##FFFFFF
##3041AE1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3041ae;
/* rgb */ color: rgb(48, 65, 174);
/* oklch */ color: oklch(43.3% 0.174 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a75c7',
    500: '#3041ae',
    950: '#000000',
  },
}
SCSS
$custom: #3041ae;
$custom-light: #7a75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3041ae",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 231.905,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.17361,
    "h": 270.5
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#3041AE
secondary
#C4B976
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3041AE

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

Preview Lab → · Contrast checker → · Palette generator →

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