#3336AF#3336AF

#3336AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.187 H 273.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3336AF
RGBrgb(51, 54, 175)
HSLhsl(239, 55%, 44%)
HSVhsv(239, 71%, 69%)
CMYKcmyk(70.9%, 69.1%, 0%, 31.4%)
CIE-LABlab(30.49, 38.92, -64.56)
CIE-LCHlch(30.49, 75.38, 301.09°)
OKLaboklab(41.69% 0.012 -0.1866)
OKLCHoklch(41.69% 0.187 273.7)
XYZxyz(10.4197, 6.4363, 41.2423)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336AF #AFAC33
analogous
#3374AF #3336AF #6E33AF
triadic
#3336AF #AF3336 #36AF33
tetradic
#3336AF #AF3374 #AFAC33 #33AF6E
square
#3336AF #AF3374 #AFAC33 #33AF6E
split-complementary
#3336AF #AF6E33 #74AF33
monochromatic
#171950 #252780 #3336AF #5255CD #8284DB

Accessibility & contrast

On white

9.18
#3336AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3336AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336AF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336AF#FFFFFF#000000##FFFFFF
##3336AF1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3336af;
/* rgb */ color: rgb(51, 54, 175);
/* oklch */ color: oklch(41.7% 0.187 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ec8',
    500: '#3336af',
    950: '#000000',
  },
}
SCSS
$custom: #3336af;
$custom-light: #7c6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#3336af",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 238.548,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41692,
    "c": 0.18699,
    "h": 273.7
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#3336AF
secondary
#C4C27A
accent
#DB4ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3336AF

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

Preview Lab → · Contrast checker → · Palette generator →

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