#3341BD#3341BD

#3341BD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.193 H 271.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3341BD
RGBrgb(51, 65, 189)
HSLhsl(234, 58%, 47%)
HSVhsv(234, 73%, 74%)
CMYKcmyk(73%, 65.6%, 0%, 25.9%)
CIE-LABlab(34.31, 37.00, -66.58)
CIE-LCHlch(34.31, 76.17, 299.06°)
OKLaboklab(44.86% 0.0037 -0.1925)
OKLCHoklch(44.86% 0.193 271.1)
XYZxyz(12.4377, 8.1572, 49.0533)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341BD #BDAF33
analogous
#3386BD #3341BD #6A33BD
triadic
#3341BD #BD3341 #41BD33
tetradic
#3341BD #BD3386 #BDAF33 #33BD6A
square
#3341BD #BD3386 #BDAF33 #33BD6A
split-complementary
#3341BD #BD6A33 #86BD33
monochromatic
#19205D #26308D #3341BD #5B67D3 #8B93E0

Accessibility & contrast

On white

7.98
#3341BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3341BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341BD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341BD#FFFFFF#000000##FFFFFF
##3341BD1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3341bd;
/* rgb */ color: rgb(51, 65, 189);
/* oklch */ color: oklch(44.9% 0.193 271.1);
Tailwind
colors: {
  custom: {
    50: '#7f76d2',
    500: '#3341bd',
    950: '#000000',
  },
}
SCSS
$custom: #3341bd;
$custom-light: #7f76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3341bd",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 233.913,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44859,
    "c": 0.19253,
    "h": 271.1
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#3341BD
secondary
#CAC282
accent
#D147E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3341BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3341BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva