#3041A9#3041A9

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

Color values

HEX#3041A9
RGBrgb(48, 65, 169)
HSLhsl(232, 56%, 43%)
HSVhsv(232, 72%, 66%)
CMYKcmyk(71.6%, 61.5%, 0%, 33.7%)
CIE-LABlab(32.42, 29.43, -57.81)
CIE-LCHlch(32.42, 64.87, 296.98°)
OKLaboklab(42.89% 0.0015 -0.1668)
OKLCHoklch(42.89% 0.167 270.5)
XYZxyz(10.2682, 7.2725, 38.3910)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041A9 #A99830
analogous
#307EA9 #3041A9 #5B30A9
triadic
#3041A9 #A93041 #41A930
tetradic
#3041A9 #A9307E #A99830 #30A95B
square
#3041A9 #A9307E #A99830 #30A95B
split-complementary
#3041A9 #A95B30 #7EA930
monochromatic
#151C4A #222F79 #3041A9 #4A5DCC #7A88D9

Accessibility & contrast

On white

8.55
#3041A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3041A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3041A9#FFFFFF#000000##FFFFFF
##3041A91.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3041a9;
/* rgb */ color: rgb(48, 65, 169);
/* oklch */ color: oklch(42.9% 0.167 270.5);
Tailwind
colors: {
  custom: {
    50: '#7975c3',
    500: '#3041a9',
    950: '#000000',
  },
}
SCSS
$custom: #3041a9;
$custom-light: #7975c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3041a9",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 231.57,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.16686,
    "h": 270.5
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#3041A9
secondary
#C2B773
accent
#CA49DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3041A9

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

Preview Lab → · Contrast checker → · Palette generator →

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