#333360#333360

#333360 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.077 H 281.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#333360
RGBrgb(51, 51, 96)
HSLhsl(240, 31%, 29%)
HSVhsv(240, 47%, 38%)
CMYKcmyk(46.9%, 46.9%, 0%, 62.4%)
CIE-LABlab(23.39, 13.21, -26.83)
CIE-LCHlch(23.39, 29.90, 296.21°)
OKLaboklab(34.47% 0.0155 -0.0759)
OKLCHoklch(34.47% 0.077 281.6)
XYZxyz(4.6598, 3.9158, 11.5744)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333360 #606033
analogous
#334A60 #333360 #4A3360
triadic
#333360 #603333 #336033
tetradic
#333360 #60334A #606033 #33604A
square
#333360 #60334A #606033 #33604A
split-complementary
#333360 #604A33 #4A6033
monochromatic
#0B0B14 #1E1E38 #333360 #484888 #6262AC

Accessibility & contrast

On white

11.78
#333360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#333360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333360
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333360#FFFFFF#000000##FFFFFF
##3333601.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223962
Deuteranopia (green-blind)
#1F365F
Tritanopia (blue-blind)
#253C44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #333360;
/* rgb */ color: rgb(51, 51, 96);
/* oklch */ color: oklch(34.5% 0.077 281.6);
Tailwind
colors: {
  custom: {
    50: '#6d6a8d',
    500: '#333360',
    950: '#000000',
  },
}
SCSS
$custom: #333360;
$custom-light: #6d6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#333360",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 30.612,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3447,
    "c": 0.07744,
    "h": 281.6
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#333360
secondary
#91915E
accent
#C761C7
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #333360

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

Preview Lab → · Contrast checker → · Palette generator →

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