#3041C1#3041C1

#3041C1 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.198 H 270.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3041C1
RGBrgb(48, 65, 193)
HSLhsl(233, 60%, 47%)
HSVhsv(233, 75%, 76%)
CMYKcmyk(75.1%, 66.3%, 0%, 24.3%)
CIE-LABlab(34.51, 38.10, -68.60)
CIE-LCHlch(34.51, 78.47, 299.05°)
OKLaboklab(45.08% 0.0004 -0.1984)
OKLCHoklch(45.08% 0.198 270.1)
XYZxyz(12.7316, 8.2579, 51.3647)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041C1 #C1B030
analogous
#3089C1 #3041C1 #6830C1
triadic
#3041C1 #C13041 #41C130
tetradic
#3041C1 #C13089 #C1B030 #30C168
square
#3041C1 #C13089 #C1B030 #30C168
split-complementary
#3041C1 #C16830 #89C130
monochromatic
#18205F #243090 #3041C1 #5967D6 #8A94E2

Accessibility & contrast

On white

7.92
#3041C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3041C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3041C1#FFFFFF#000000##FFFFFF
##3041C11.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3041c1;
/* rgb */ color: rgb(48, 65, 193);
/* oklch */ color: oklch(45.1% 0.198 270.1);
Tailwind
colors: {
  custom: {
    50: '#7f76d5',
    500: '#3041c1',
    950: '#000000',
  },
}
SCSS
$custom: #3041c1;
$custom-light: #7f76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3041c1",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 232.966,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45078,
    "c": 0.19845,
    "h": 270.1
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#3041C1
secondary
#CCC381
accent
#D144E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3041C1

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

Preview Lab → · Contrast checker → · Palette generator →

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