#33307B#33307B

#33307B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.124 H 279.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#33307B
RGBrgb(51, 48, 123)
HSLhsl(242, 44%, 34%)
HSVhsv(242, 61%, 48%)
CMYKcmyk(58.5%, 61%, 0%, 51.8%)
CIE-LABlab(24.47, 24.59, -42.45)
CIE-LCHlch(24.47, 49.06, 300.09°)
OKLaboklab(35.89% 0.0214 -0.1218)
OKLCHoklch(35.89% 0.124 279.9)
XYZxyz(5.9962, 4.2474, 19.2389)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33307B #787B30
analogous
#30527B #33307B #58307B
triadic
#33307B #7B3330 #307B33
tetradic
#33307B #7B3052 #787B30 #307B58
square
#33307B #7B3052 #787B30 #307B58
split-complementary
#33307B #7B5830 #527B30
monochromatic
#0E0E23 #211F4F #33307B #4541A7 #6763C2

Accessibility & contrast

On white

11.35
#33307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33307B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33307B#FFFFFF#000000##FFFFFF
##33307B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#0D4250
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #33307b;
/* rgb */ color: rgb(51, 48, 123);
/* oklch */ color: oklch(35.9% 0.124 279.9);
Tailwind
colors: {
  custom: {
    50: '#7268a2',
    500: '#33307b',
    950: '#000000',
  },
}
SCSS
$custom: #33307b;
$custom-light: #7268a2;
$custom-dark: #000000;
JSON
{
  "hex": "#33307b",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 242.4,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.12364,
    "h": 279.9
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33307B

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

Preview Lab → · Contrast checker → · Palette generator →

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