#3041AC#3041AC

#3041AC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.171 H 270.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3041AC
RGBrgb(48, 65, 172)
HSLhsl(232, 56%, 43%)
HSVhsv(232, 72%, 67%)
CMYKcmyk(72.1%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.67, 30.53, -59.19)
CIE-LCHlch(32.67, 66.60, 297.28°)
OKLaboklab(43.16% 0.0014 -0.1709)
OKLCHoklch(43.16% 0.171 270.5)
XYZxyz(10.5531, 7.3865, 39.8913)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041AC #AC9B30
analogous
#307FAC #3041AC #5D30AC
triadic
#3041AC #AC3041 #41AC30
tetradic
#3041AC #AC307F #AC9B30 #30AC5D
square
#3041AC #AC307F #AC9B30 #30AC5D
split-complementary
#3041AC #AC5D30 #7FAC30
monochromatic
#151D4C #232F7C #3041AC #4C5ECD #7C89DA

Accessibility & contrast

On white

8.48
#3041AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3041AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3041AC#FFFFFF#000000##FFFFFF
##3041AC1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3041ac;
/* rgb */ color: rgb(48, 65, 172);
/* oklch */ color: oklch(43.2% 0.171 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a75c6',
    500: '#3041ac',
    950: '#000000',
  },
}
SCSS
$custom: #3041ac;
$custom-light: #7a75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3041ac",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 231.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43158,
    "c": 0.17092,
    "h": 270.5
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#3041AC
secondary
#C3B875
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3041AC

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

Preview Lab → · Contrast checker → · Palette generator →

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