#3041AD#3041AD

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

Color values

HEX#3041AD
RGBrgb(48, 65, 173)
HSLhsl(232, 57%, 43%)
HSVhsv(232, 72%, 68%)
CMYKcmyk(72.3%, 62.4%, 0%, 32.2%)
CIE-LABlab(32.76, 30.89, -59.65)
CIE-LCHlch(32.76, 67.18, 297.38°)
OKLaboklab(43.25% 0.0014 -0.1722)
OKLCHoklch(43.25% 0.172 270.5)
XYZxyz(10.6495, 7.4250, 40.3990)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041AD #AD9C30
analogous
#307FAD #3041AD #5D30AD
triadic
#3041AD #AD3041 #41AD30
tetradic
#3041AD #AD307F #AD9C30 #30AD5D
square
#3041AD #AD307F #AD9C30 #30AD5D
split-complementary
#3041AD #AD5D30 #7FAD30
monochromatic
#151D4D #232F7D #3041AD #4D5ECE #7D89DB

Accessibility & contrast

On white

8.45
#3041AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3041AD#FFFFFF#000000##FFFFFF
##3041AD1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3041ad;
/* rgb */ color: rgb(48, 65, 173);
/* oklch */ color: oklch(43.2% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a75c6',
    500: '#3041ad',
    950: '#000000',
  },
}
SCSS
$custom: #3041ad;
$custom-light: #7a75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3041ad",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 231.84,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.17226,
    "h": 270.5
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3041AD

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

Preview Lab → · Contrast checker → · Palette generator →

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