#3343B8#3343B8

#3343B8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.184 H 270.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3343B8
RGBrgb(51, 67, 184)
HSLhsl(233, 57%, 46%)
HSVhsv(233, 72%, 72%)
CMYKcmyk(72.3%, 63.6%, 0%, 27.8%)
CIE-LABlab(34.35, 33.95, -63.57)
CIE-LCHlch(34.35, 72.07, 298.11°)
OKLaboklab(44.76% 0.0027 -0.1836)
OKLCHoklch(44.76% 0.184 270.8)
XYZxyz(12.0212, 8.1776, 46.2830)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343B8 #B8A833
analogous
#3385B8 #3343B8 #6533B8
triadic
#3343B8 #B83343 #43B833
tetradic
#3343B8 #B83385 #B8A833 #33B865
square
#3343B8 #B83385 #B8A833 #33B865
split-complementary
#3343B8 #B86533 #85B833
monochromatic
#182058 #263288 #3343B8 #5866D1 #8892DE

Accessibility & contrast

On white

7.97
#3343B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3343B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3343B8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343B8#FFFFFF#000000##FFFFFF
##3343B81.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3343b8;
/* rgb */ color: rgb(51, 67, 184);
/* oklch */ color: oklch(44.8% 0.184 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d77ce',
    500: '#3343b8',
    950: '#000000',
  },
}
SCSS
$custom: #3343b8;
$custom-light: #7d77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3343b8",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 232.782,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.18367,
    "h": 270.8
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#3343B8
secondary
#C8BF7F
accent
#CE48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3343B8

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

Preview Lab → · Contrast checker → · Palette generator →

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