#33337F#33337F

#33337F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.125 H 278.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#33337F
RGBrgb(51, 51, 127)
HSLhsl(240, 43%, 35%)
HSVhsv(240, 60%, 50%)
CMYKcmyk(59.8%, 59.8%, 0%, 50.2%)
CIE-LABlab(25.57, 23.99, -43.19)
CIE-LCHlch(25.57, 49.40, 299.05°)
OKLaboklab(36.81% 0.0181 -0.1239)
OKLCHoklch(36.81% 0.125 278.3)
XYZxyz(6.3786, 4.6033, 20.6270)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33337F #7F7F33
analogous
#33597F #33337F #59337F
triadic
#33337F #7F3333 #337F33
tetradic
#33337F #7F3359 #7F7F33 #337F59
square
#33337F #7F3359 #7F7F33 #337F59
split-complementary
#33337F #7F5933 #597F33
monochromatic
#101028 #212153 #33337F #4545AB #6969C3

Accessibility & contrast

On white

10.93
#33337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#33337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33337F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33337F#FFFFFF#000000##FFFFFF
##33337F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#044553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33337f;
/* rgb */ color: rgb(51, 51, 127);
/* oklch */ color: oklch(36.8% 0.125 278.3);
Tailwind
colors: {
  custom: {
    50: '#736aa5',
    500: '#33337f',
    950: '#000000',
  },
}
SCSS
$custom: #33337f;
$custom-light: #736aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#33337f",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 240,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36806,
    "c": 0.12524,
    "h": 278.3
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#33337F
secondary
#ABAB63
accent
#D255D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33337F

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

Preview Lab → · Contrast checker → · Palette generator →

#33337F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva