#41398A#41398A

#41398A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.130 H 283.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#41398A
RGBrgb(65, 57, 138)
HSLhsl(246, 42%, 38%)
HSVhsv(246, 59%, 54%)
CMYKcmyk(52.9%, 58.7%, 0%, 45.9%)
CIE-LABlab(29.12, 26.72, -44.25)
CIE-LCHlch(29.12, 51.69, 301.12°)
OKLaboklab(39.99% 0.0299 -0.1266)
OKLCHoklch(39.99% 0.13 283.3)
XYZxyz(8.2292, 5.8846, 24.7421)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41398A #828A39
analogous
#39598A #41398A #69398A
triadic
#41398A #8A4139 #398A41
tetradic
#41398A #8A3959 #828A39 #398A69
square
#41398A #8A3959 #828A39 #398A69
split-complementary
#41398A #8A6939 #598A39
monochromatic
#181533 #2D275F #41398A #564BB5 #7F77C7

Accessibility & contrast

On white

9.65
#41398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#41398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41398A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41398A#FFFFFF#000000##FFFFFF
##41398A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#244C5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #41398a;
/* rgb */ color: rgb(65, 57, 138);
/* oklch */ color: oklch(40.0% 0.130 283.3);
Tailwind
colors: {
  custom: {
    50: '#7c6fad',
    500: '#41398a',
    950: '#000000',
  },
}
SCSS
$custom: #41398a;
$custom-light: #7c6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#41398a",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 245.926,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.13008,
    "h": 283.3
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#41398A
secondary
#A9B06F
accent
#D156C5
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #41398A

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

Preview Lab → · Contrast checker → · Palette generator →

#41398A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva