#341FA9#341FA9

#341FA9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.202 H 277.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#341FA9
RGBrgb(52, 31, 169)
HSLhsl(249, 69%, 39%)
HSVhsv(249, 82%, 66%)
CMYKcmyk(69.2%, 81.7%, 0%, 33.7%)
CIE-LABlab(25.48, 49.63, -69.20)
CIE-LCHlch(25.48, 85.16, 305.65°)
OKLaboklab(37.99% 0.0269 -0.1999)
OKLCHoklch(37.99% 0.202 277.7)
XYZxyz(9.0653, 4.5738, 37.9335)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341FA9 #94A91F
analogous
#1F4FA9 #341FA9 #791FA9
triadic
#341FA9 #A9341F #1FA934
tetradic
#341FA9 #A91F4F #94A91F #1FA979
square
#341FA9 #A91F4F #94A91F #1FA979
split-complementary
#341FA9 #A9791F #4FA91F
monochromatic
#140C42 #241675 #341FA9 #472DD8 #7460E2

Accessibility & contrast

On white

10.97
#341FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#341FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341FA9
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341FA9#FFFFFF#000000##FFFFFF
##341FA91.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #341fa9;
/* rgb */ color: rgb(52, 31, 169);
/* oklch */ color: oklch(38.0% 0.202 277.7);
Tailwind
colors: {
  custom: {
    50: '#7e60c4',
    500: '#341fa9',
    950: '#000000',
  },
}
SCSS
$custom: #341fa9;
$custom-light: #7e60c4;
$custom-dark: #000000;
JSON
{
  "hex": "#341fa9",
  "rgb": {
    "r": 52,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 249.13,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37985,
    "c": 0.20175,
    "h": 277.7
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#341FA9
secondary
#B7C75D
accent
#EC3CD1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #341FA9

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

Preview Lab → · Contrast checker → · Palette generator →

#341FA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva