#33338B#33338B

#33338B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.142 H 277.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#33338B
RGBrgb(51, 51, 139)
HSLhsl(240, 46%, 37%)
HSVhsv(240, 63%, 55%)
CMYKcmyk(63.3%, 63.3%, 0%, 45.5%)
CIE-LABlab(26.55, 28.24, -49.10)
CIE-LCHlch(26.55, 56.64, 299.90°)
OKLaboklab(37.83% 0.0177 -0.1413)
OKLCHoklch(37.83% 0.142 277.2)
XYZxyz(7.2078, 4.9350, 24.9938)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33338B #8B8B33
analogous
#335F8B #33338B #5F338B
triadic
#33338B #8B3333 #338B33
tetradic
#33338B #8B335F #8B8B33 #338B5F
square
#33338B #8B335F #8B8B33 #338B5F
split-complementary
#33338B #8B5F33 #5F8B33
monochromatic
#121231 #23235E #33338B #4343B8 #6E6ECA

Accessibility & contrast

On white

10.57
#33338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#33338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33338B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33338B#FFFFFF#000000##FFFFFF
##33338B1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33338b;
/* rgb */ color: rgb(51, 51, 139);
/* oklch */ color: oklch(37.8% 0.142 277.2);
Tailwind
colors: {
  custom: {
    50: '#756bae',
    500: '#33338b',
    950: '#000000',
  },
}
SCSS
$custom: #33338b;
$custom-light: #756bae;
$custom-dark: #000000;
JSON
{
  "hex": "#33338b",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37832,
    "c": 0.14242,
    "h": 277.2
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#33338B
secondary
#B2B268
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33338B

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

Preview Lab → · Contrast checker → · Palette generator →

#33338B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva