#41398C#41398C

#41398C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.133 H 283.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#41398C
RGBrgb(65, 57, 140)
HSLhsl(246, 42%, 39%)
HSVhsv(246, 59%, 55%)
CMYKcmyk(53.6%, 59.3%, 0%, 45.1%)
CIE-LABlab(29.27, 27.37, -45.25)
CIE-LCHlch(29.27, 52.89, 301.17°)
OKLaboklab(40.15% 0.0299 -0.1295)
OKLCHoklch(40.15% 0.133 283)
XYZxyz(8.3753, 5.9431, 25.5117)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41398C #848C39
analogous
#395A8C #41398C #6A398C
triadic
#41398C #8C4139 #398C41
tetradic
#41398C #8C395A #848C39 #398C6A
square
#41398C #8C395A #848C39 #398C6A
split-complementary
#41398C #8C6A39 #5A8C39
monochromatic
#191635 #2D2761 #41398C #564CB6 #7F78C8

Accessibility & contrast

On white

9.59
#41398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#41398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41398C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41398C#FFFFFF#000000##FFFFFF
##41398C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#224C5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #41398c;
/* rgb */ color: rgb(65, 57, 140);
/* oklch */ color: oklch(40.1% 0.133 283.0);
Tailwind
colors: {
  custom: {
    50: '#7c6fae',
    500: '#41398c',
    950: '#000000',
  },
}
SCSS
$custom: #41398c;
$custom-light: #7c6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#41398c",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 245.783,
    "s": 42.132,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.13293,
    "h": 283
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#41398C
secondary
#ABB170
accent
#D256C6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #41398C

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

Preview Lab → · Contrast checker → · Palette generator →

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