#3336B8#3336B8

#3336B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.198 H 273.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3336B8
RGBrgb(51, 54, 184)
HSLhsl(239, 57%, 46%)
HSVhsv(239, 72%, 72%)
CMYKcmyk(72.3%, 70.7%, 0%, 27.8%)
CIE-LABlab(31.35, 42.00, -68.49)
CIE-LCHlch(31.35, 80.34, 301.52°)
OKLaboklab(42.58% 0.0108 -0.1981)
OKLCHoklch(42.58% 0.198 273.1)
XYZxyz(11.3332, 6.8017, 46.0537)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B8 #B8B533
analogous
#3378B8 #3336B8 #7233B8
triadic
#3336B8 #B83336 #36B833
tetradic
#3336B8 #B83378 #B8B533 #33B872
square
#3336B8 #B83378 #B8B533 #33B872
split-complementary
#3336B8 #B87233 #78B833
monochromatic
#181A58 #262888 #3336B8 #585AD1 #8889DE

Accessibility & contrast

On white

8.90
#3336B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3336B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B8#FFFFFF#000000##FFFFFF
##3336B81.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3336b8;
/* rgb */ color: rgb(51, 54, 184);
/* oklch */ color: oklch(42.6% 0.198 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f6ecf',
    500: '#3336b8',
    950: '#000000',
  },
}
SCSS
$custom: #3336b8;
$custom-light: #7f6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b8",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 238.647,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42575,
    "c": 0.19837,
    "h": 273.1
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#3336B8
secondary
#C8C67F
accent
#DC48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3336B8

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

Preview Lab → · Contrast checker → · Palette generator →

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