#3041AA#3041AA

#3041AA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.168 H 270.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3041AA
RGBrgb(48, 65, 170)
HSLhsl(232, 56%, 43%)
HSVhsv(232, 72%, 67%)
CMYKcmyk(71.8%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.50, 29.80, -58.27)
CIE-LCHlch(32.50, 65.45, 297.08°)
OKLaboklab(42.98% 0.0015 -0.1682)
OKLCHoklch(42.98% 0.168 270.5)
XYZxyz(10.3624, 7.3102, 38.8873)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041AA #AA9930
analogous
#307EAA #3041AA #5C30AA
triadic
#3041AA #AA3041 #41AA30
tetradic
#3041AA #AA307E #AA9930 #30AA5C
square
#3041AA #AA307E #AA9930 #30AA5C
split-complementary
#3041AA #AA5C30 #7EAA30
monochromatic
#151D4B #232F7A #3041AA #4B5DCC #7B88DA

Accessibility & contrast

On white

8.53
#3041AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3041AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3041AA#FFFFFF#000000##FFFFFF
##3041AA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3041aa;
/* rgb */ color: rgb(48, 65, 170);
/* oklch */ color: oklch(43.0% 0.168 270.5);
Tailwind
colors: {
  custom: {
    50: '#7975c4',
    500: '#3041aa',
    950: '#000000',
  },
}
SCSS
$custom: #3041aa;
$custom-light: #7975c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3041aa",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 231.639,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.16822,
    "h": 270.5
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#3041AA
secondary
#C2B774
accent
#CA49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3041AA

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

Preview Lab → · Contrast checker → · Palette generator →

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