#333380#333380

#333380 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.127 H 278.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#333380
RGBrgb(51, 51, 128)
HSLhsl(240, 43%, 35%)
HSVhsv(240, 60%, 50%)
CMYKcmyk(60.2%, 60.2%, 0%, 49.8%)
CIE-LABlab(25.65, 24.35, -43.69)
CIE-LCHlch(25.65, 50.01, 299.13°)
OKLaboklab(36.89% 0.0181 -0.1254)
OKLCHoklch(36.89% 0.127 278.2)
XYZxyz(6.4441, 4.6295, 20.9719)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333380 #808033
analogous
#335980 #333380 #593380
triadic
#333380 #803333 #338033
tetradic
#333380 #803359 #808033 #338059
square
#333380 #803359 #808033 #338059
split-complementary
#333380 #805933 #598033
monochromatic
#101028 #222254 #333380 #4444AC #6A6AC4

Accessibility & contrast

On white

10.90
#333380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#333380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333380
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333380#FFFFFF#000000##FFFFFF
##3333801.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#014554
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333380;
/* rgb */ color: rgb(51, 51, 128);
/* oklch */ color: oklch(36.9% 0.127 278.2);
Tailwind
colors: {
  custom: {
    50: '#736aa5',
    500: '#333380',
    950: '#000000',
  },
}
SCSS
$custom: #333380;
$custom-light: #736aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#333380",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.12671,
    "h": 278.2
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#333380
secondary
#ABAB63
accent
#D355D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #333380

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

Preview Lab → · Contrast checker → · Palette generator →

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