#333281#333281

#333281 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.130 H 278.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#333281
RGBrgb(51, 50, 129)
HSLhsl(241, 44%, 35%)
HSVhsv(241, 61%, 51%)
CMYKcmyk(60.5%, 61.2%, 0%, 49.4%)
CIE-LABlab(25.47, 25.37, -44.61)
CIE-LCHlch(25.47, 51.32, 299.62°)
OKLaboklab(36.78% 0.0191 -0.1281)
OKLCHoklch(36.78% 0.13 278.5)
XYZxyz(6.4670, 4.5695, 21.3058)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333281 #808132
analogous
#325981 #333281 #5A3281
triadic
#333281 #813332 #328133
tetradic
#333281 #813259 #808132 #32815A
square
#333281 #813259 #808132 #32815A
split-complementary
#333281 #815A32 #598132
monochromatic
#101029 #222155 #333281 #4443AD #6A69C5

Accessibility & contrast

On white

10.97
#333281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#333281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333281
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333281#FFFFFF#000000##FFFFFF
##3332811.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333281;
/* rgb */ color: rgb(51, 50, 129);
/* oklch */ color: oklch(36.8% 0.130 278.5);
Tailwind
colors: {
  custom: {
    50: '#736aa6',
    500: '#333281',
    950: '#000000',
  },
}
SCSS
$custom: #333281;
$custom-light: #736aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#333281",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 240.759,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.12954,
    "h": 278.5
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#333281
secondary
#ABAC62
accent
#D454D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #333281

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

Preview Lab → · Contrast checker → · Palette generator →

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