#333366#333366

#333366 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.087 H 280.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#333366
RGBrgb(51, 51, 102)
HSLhsl(240, 33%, 30%)
HSVhsv(240, 50%, 40%)
CMYKcmyk(50%, 50%, 0%, 60%)
CIE-LABlab(23.77, 15.25, -30.12)
CIE-LCHlch(23.77, 33.76, 296.85°)
OKLaboklab(34.88% 0.0165 -0.0855)
OKLCHoklch(34.88% 0.087 280.9)
XYZxyz(4.9466, 4.0305, 13.0851)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333366 #666633
analogous
#334C66 #333366 #4C3366
triadic
#333366 #663333 #336633
tetradic
#333366 #66334D #666633 #33664D
square
#333366 #66334D #666633 #33664D
split-complementary
#333366 #664D33 #4D6633
monochromatic
#0A0A14 #1F1F3D #333366 #47478F #6363B1

Accessibility & contrast

On white

11.63
#333366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#333366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333366
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333366#FFFFFF#000000##FFFFFF
##3333661.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A68
Deuteranopia (green-blind)
#1A3765
Tritanopia (blue-blind)
#213E47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #333366;
/* rgb */ color: rgb(51, 51, 102);
/* oklch */ color: oklch(34.9% 0.087 280.9);
Tailwind
colors: {
  custom: {
    50: '#6e6a92',
    500: '#333366',
    950: '#000000',
  },
}
SCSS
$custom: #333366;
$custom-light: #6e6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#333366",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 240,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.34883,
    "c": 0.0871,
    "h": 280.9
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#333366
secondary
#97975E
accent
#C95EC9
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #333366

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

Preview Lab → · Contrast checker → · Palette generator →

#333366 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva