#333680#333680

#333680 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.122 H 277.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#333680
RGBrgb(51, 54, 128)
HSLhsl(238, 43%, 35%)
HSVhsv(238, 60%, 50%)
CMYKcmyk(60.2%, 57.8%, 0%, 49.8%)
CIE-LABlab(26.45, 22.33, -42.40)
CIE-LCHlch(26.45, 47.92, 297.78°)
OKLaboklab(37.48% 0.0149 -0.1216)
OKLCHoklch(37.48% 0.122 277)
XYZxyz(6.5794, 4.9002, 21.0170)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333680 #807D33
analogous
#335D80 #333680 #563380
triadic
#333680 #803336 #368033
tetradic
#333680 #80335D #807D33 #338056
square
#333680 #80335D #807D33 #338056
split-complementary
#333680 #805633 #5D8033
monochromatic
#101128 #222454 #333680 #4448AC #6A6DC4

Accessibility & contrast

On white

10.60
#333680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#333680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333680
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333680#FFFFFF#000000##FFFFFF
##3336801.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333680;
/* rgb */ color: rgb(51, 54, 128);
/* oklch */ color: oklch(37.5% 0.122 277.0);
Tailwind
colors: {
  custom: {
    50: '#736da5',
    500: '#333680',
    950: '#000000',
  },
}
SCSS
$custom: #333680;
$custom-light: #736da5;
$custom-dark: #000000;
JSON
{
  "hex": "#333680",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 128
  },
  "hsl": {
    "h": 237.662,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.12249,
    "h": 277
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#333680
secondary
#ABA963
accent
#CE55D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #333680

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

Preview Lab → · Contrast checker → · Palette generator →

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