#33306F#33306F

#33306F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.106 H 281.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#33306F
RGBrgb(51, 48, 111)
HSLhsl(243, 40%, 31%)
HSVhsv(243, 57%, 44%)
CMYKcmyk(54.1%, 56.8%, 0%, 56.5%)
CIE-LABlab(23.56, 20.41, -36.28)
CIE-LCHlch(23.56, 41.63, 299.36°)
OKLaboklab(34.92% 0.0212 -0.1036)
OKLCHoklch(34.92% 0.106 281.6)
XYZxyz(5.2906, 3.9651, 15.5224)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33306F #6C6F30
analogous
#304C6F #33306F #52306F
triadic
#33306F #6F3330 #306F33
tetradic
#33306F #6F304C #6C6F30 #306F52
square
#33306F #6F304C #6C6F30 #306F52
split-complementary
#33306F #6F5230 #4C6F30
monochromatic
#0C0B1A #1F1E44 #33306F #47429A #645FBA

Accessibility & contrast

On white

11.71
#33306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#33306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33306F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33306F#FFFFFF#000000##FFFFFF
##33306F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#1B3E4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33306f;
/* rgb */ color: rgb(51, 48, 111);
/* oklch */ color: oklch(34.9% 0.106 281.6);
Tailwind
colors: {
  custom: {
    50: '#706899',
    500: '#33306f',
    950: '#000000',
  },
}
SCSS
$custom: #33306f;
$custom-light: #706899;
$custom-dark: #000000;
JSON
{
  "hex": "#33306f",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 242.857,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.10579,
    "h": 281.6
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#33306F
secondary
#9DA05B
accent
#D058CA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #33306F

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

Preview Lab → · Contrast checker → · Palette generator →

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