#41397F#41397F

#41397F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.2% C 0.114 H 285.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#41397F
RGBrgb(65, 57, 127)
HSLhsl(247, 38%, 36%)
HSVhsv(247, 55%, 50%)
CMYKcmyk(48.8%, 55.1%, 0%, 50.2%)
CIE-LABlab(28.33, 23.11, -38.67)
CIE-LCHlch(28.33, 45.05, 300.86°)
OKLaboklab(39.16% 0.0296 -0.1102)
OKLCHoklch(39.16% 0.114 285)
XYZxyz(7.4727, 5.5820, 20.7583)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41397F #777F39
analogous
#39547F #41397F #64397F
triadic
#41397F #7F4139 #397F41
tetradic
#41397F #7F3954 #777F39 #397F64
square
#41397F #7F3954 #777F39 #397F64
split-complementary
#41397F #7F6439 #547F39
monochromatic
#16132B #2B2655 #41397F #574CA9 #7B72C0

Accessibility & contrast

On white

9.92
#41397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#41397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41397F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41397F#FFFFFF#000000##FFFFFF
##41397F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154581
Deuteranopia (green-blind)
#12417D
Tritanopia (blue-blind)
#2C4856
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #41397f;
/* rgb */ color: rgb(65, 57, 127);
/* oklch */ color: oklch(39.2% 0.114 285.0);
Tailwind
colors: {
  custom: {
    50: '#7a6fa5',
    500: '#41397f',
    950: '#000000',
  },
}
SCSS
$custom: #41397f;
$custom-light: #7a6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#41397f",
  "rgb": {
    "r": 65,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 246.857,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.11409,
    "h": 285
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#41397F
secondary
#A2A96B
accent
#CE5AC1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #41397F

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

Preview Lab → · Contrast checker → · Palette generator →

#41397F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva