#333367#333367

#333367 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.089 H 280.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#333367
RGBrgb(51, 51, 103)
HSLhsl(240, 34%, 30%)
HSVhsv(240, 50%, 40%)
CMYKcmyk(50.5%, 50.5%, 0%, 59.6%)
CIE-LABlab(23.84, 15.59, -30.67)
CIE-LCHlch(23.84, 34.40, 296.95°)
OKLaboklab(34.95% 0.0166 -0.0871)
OKLCHoklch(34.95% 0.089 280.8)
XYZxyz(4.9965, 4.0505, 13.3479)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333367 #676733
analogous
#334D67 #333367 #4D3367
triadic
#333367 #673333 #336733
tetradic
#333367 #67334D #676733 #33674D
square
#333367 #67334D #676733 #33674D
split-complementary
#333367 #674D33 #4D6733
monochromatic
#0A0A15 #1F1F3E #333367 #474790 #6363B2

Accessibility & contrast

On white

11.60
#333367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333367
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333367#FFFFFF#000000##FFFFFF
##3333671.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#193766
Tritanopia (blue-blind)
#203E48
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #333367;
/* rgb */ color: rgb(51, 51, 103);
/* oklch */ color: oklch(35.0% 0.089 280.8);
Tailwind
colors: {
  custom: {
    50: '#6e6a93',
    500: '#333367',
    950: '#000000',
  },
}
SCSS
$custom: #333367;
$custom-light: #6e6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#333367",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 240,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34953,
    "c": 0.08869,
    "h": 280.8
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#333367
secondary
#98985E
accent
#CA5ECA
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #333367

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

Preview Lab → · Contrast checker → · Palette generator →

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