#33307A#33307A

#33307A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.122 H 280.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#33307A
RGBrgb(51, 48, 122)
HSLhsl(242, 44%, 33%)
HSVhsv(242, 61%, 48%)
CMYKcmyk(58.2%, 60.7%, 0%, 52.2%)
CIE-LABlab(24.39, 24.24, -41.94)
CIE-LCHlch(24.39, 48.44, 300.03°)
OKLaboklab(35.81% 0.0214 -0.1203)
OKLCHoklch(35.81% 0.122 280.1)
XYZxyz(5.9339, 4.2225, 18.9109)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33307A #777A30
analogous
#30527A #33307A #58307A
triadic
#33307A #7A3330 #307A33
tetradic
#33307A #7A3052 #777A30 #307A58
square
#33307A #7A3052 #777A30 #307A58
split-complementary
#33307A #7A5830 #527A30
monochromatic
#0E0D22 #211F4E #33307A #4541A6 #6763C2

Accessibility & contrast

On white

11.38
#33307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#33307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33307A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33307A#FFFFFF#000000##FFFFFF
##33307A1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#0E4150
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33307a;
/* rgb */ color: rgb(51, 48, 122);
/* oklch */ color: oklch(35.8% 0.122 280.1);
Tailwind
colors: {
  custom: {
    50: '#7268a1',
    500: '#33307a',
    950: '#000000',
  },
}
SCSS
$custom: #33307a;
$custom-light: #7268a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33307a",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 242.432,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.12218,
    "h": 280.1
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#33307A
secondary
#A6A95D
accent
#D355CE
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33307A

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

Preview Lab → · Contrast checker → · Palette generator →

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