#33308E#33308E

#33308E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.150 H 277.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#33308E
RGBrgb(51, 48, 142)
HSLhsl(242, 49%, 37%)
HSVhsv(242, 66%, 56%)
CMYKcmyk(64.1%, 66.2%, 0%, 44.3%)
CIE-LABlab(26.07, 31.23, -51.74)
CIE-LCHlch(26.07, 60.44, 301.12°)
OKLaboklab(37.56% 0.0202 -0.1491)
OKLCHoklch(37.56% 0.15 277.7)
XYZxyz(7.3031, 4.7701, 26.1218)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33308E #8B8E30
analogous
#305C8E #33308E #62308E
triadic
#33308E #8E3330 #308E33
tetradic
#33308E #8E305C #8B8E30 #308E62
square
#33308E #8E305C #8B8E30 #308E62
split-complementary
#33308E #8E6230 #5C8E30
monochromatic
#121133 #232160 #33308E #433FBC #6E6BCD

Accessibility & contrast

On white

10.75
#33308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#33308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33308E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33308E#FFFFFF#000000##FFFFFF
##33308E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33308e;
/* rgb */ color: rgb(51, 48, 142);
/* oklch */ color: oklch(37.6% 0.150 277.7);
Tailwind
colors: {
  custom: {
    50: '#7669b0',
    500: '#33308e',
    950: '#000000',
  },
}
SCSS
$custom: #33308e;
$custom-light: #7669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#33308e",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 241.915,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37562,
    "c": 0.15044,
    "h": 277.7
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#33308E
secondary
#B2B465
accent
#D94FD5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33308E

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

Preview Lab → · Contrast checker → · Palette generator →

#33308E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva