#33307C#33307C

#33307C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.125 H 279.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#33307C
RGBrgb(51, 48, 124)
HSLhsl(242, 44%, 34%)
HSVhsv(242, 61%, 49%)
CMYKcmyk(58.9%, 61.3%, 0%, 51.4%)
CIE-LABlab(24.55, 24.94, -42.95)
CIE-LCHlch(24.55, 49.67, 300.14°)
OKLaboklab(35.98% 0.0213 -0.1233)
OKLCHoklch(35.98% 0.125 279.8)
XYZxyz(6.0591, 4.2725, 19.5703)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33307C #797C30
analogous
#30537C #33307C #59307C
triadic
#33307C #7C3330 #307C33
tetradic
#33307C #7C3053 #797C30 #307C59
square
#33307C #7C3053 #797C30 #307C59
split-complementary
#33307C #7C5930 #537C30
monochromatic
#0F0E24 #211F50 #33307C #4541A8 #6764C3

Accessibility & contrast

On white

11.32
#33307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#33307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33307C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33307C#FFFFFF#000000##FFFFFF
##33307C1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#0B4251
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33307c;
/* rgb */ color: rgb(51, 48, 124);
/* oklch */ color: oklch(36.0% 0.125 279.8);
Tailwind
colors: {
  custom: {
    50: '#7268a3',
    500: '#33307c',
    950: '#000000',
  },
}
SCSS
$custom: #33307c;
$custom-light: #7268a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33307c",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 242.368,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35977,
    "c": 0.12509,
    "h": 279.8
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#33307C
secondary
#A7AA5E
accent
#D454CF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33307C

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

Preview Lab → · Contrast checker → · Palette generator →

#33307C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva