#3341B8#3341B8

#3341B8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.186 H 271.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3341B8
RGBrgb(51, 65, 184)
HSLhsl(234, 57%, 46%)
HSVhsv(234, 72%, 72%)
CMYKcmyk(72.3%, 64.7%, 0%, 27.8%)
CIE-LABlab(33.87, 35.23, -64.36)
CIE-LCHlch(33.87, 73.37, 298.69°)
OKLaboklab(44.4% 0.004 -0.186)
OKLCHoklch(44.4% 0.186 271.2)
XYZxyz(11.9043, 7.9439, 46.2441)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341B8 #B8AA33
analogous
#3383B8 #3341B8 #6733B8
triadic
#3341B8 #B83341 #41B833
tetradic
#3341B8 #B83383 #B8AA33 #33B867
square
#3341B8 #B83383 #B8AA33 #33B867
split-complementary
#3341B8 #B86733 #83B833
monochromatic
#181F58 #263088 #3341B8 #5864D1 #8891DE

Accessibility & contrast

On white

8.11
#3341B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3341B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341B8
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341B8#FFFFFF#000000##FFFFFF
##3341B81.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3341b8;
/* rgb */ color: rgb(51, 65, 184);
/* oklch */ color: oklch(44.4% 0.186 271.2);
Tailwind
colors: {
  custom: {
    50: '#7e75ce',
    500: '#3341b8',
    950: '#000000',
  },
}
SCSS
$custom: #3341b8;
$custom-light: #7e75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3341b8",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 233.684,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.444,
    "c": 0.18602,
    "h": 271.2
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#3341B8
secondary
#C8C07F
accent
#D048E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3341B8

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

Preview Lab → · Contrast checker → · Palette generator →

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