#3336B3#3336B3

#3336B3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.192 H 273.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3336B3
RGBrgb(51, 54, 179)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 70%)
CMYKcmyk(71.5%, 69.8%, 0%, 29.8%)
CIE-LABlab(30.87, 40.29, -66.32)
CIE-LCHlch(30.87, 77.60, 301.28°)
OKLaboklab(42.08% 0.0115 -0.1917)
OKLCHoklch(42.08% 0.192 273.4)
XYZxyz(10.8184, 6.5958, 43.3421)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336B3 #B3B033
analogous
#3376B3 #3336B3 #7033B3
triadic
#3336B3 #B33336 #36B333
tetradic
#3336B3 #B33376 #B3B033 #33B370
square
#3336B3 #B33376 #B3B033 #33B370
split-complementary
#3336B3 #B37033 #76B333
monochromatic
#181954 #252883 #3336B3 #5558CE #8486DC

Accessibility & contrast

On white

9.05
#3336B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3336B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336B3
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336B3#FFFFFF#000000##FFFFFF
##3336B31.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3336b3;
/* rgb */ color: rgb(51, 54, 179);
/* oklch */ color: oklch(42.1% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ecb',
    500: '#3336b3',
    950: '#000000',
  },
}
SCSS
$custom: #3336b3;
$custom-light: #7d6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3336b3",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 238.594,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42082,
    "c": 0.19208,
    "h": 273.4
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#3336B3
secondary
#C6C47C
accent
#DB49DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3336B3

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

Preview Lab → · Contrast checker → · Palette generator →

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