#33307E#33307E

#33307E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.128 H 279.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#33307E
RGBrgb(51, 48, 126)
HSLhsl(242, 45%, 34%)
HSVhsv(242, 62%, 49%)
CMYKcmyk(59.5%, 61.9%, 0%, 50.6%)
CIE-LABlab(24.71, 25.64, -43.95)
CIE-LCHlch(24.71, 50.89, 300.26°)
OKLaboklab(36.15% 0.0213 -0.1262)
OKLCHoklch(36.15% 0.128 279.6)
XYZxyz(6.1869, 4.3236, 20.2431)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33307E #7B7E30
analogous
#30547E #33307E #5A307E
triadic
#33307E #7E3330 #307E33
tetradic
#33307E #7E3054 #7B7E30 #307E5A
square
#33307E #7E3054 #7B7E30 #307E5A
split-complementary
#33307E #7E5A30 #547E30
monochromatic
#0F0E25 #211F52 #33307E #4541AA #6864C4

Accessibility & contrast

On white

11.26
#33307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#33307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33307E
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33307E#FFFFFF#000000##FFFFFF
##33307E1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#074352
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33307e;
/* rgb */ color: rgb(51, 48, 126);
/* oklch */ color: oklch(36.1% 0.128 279.6);
Tailwind
colors: {
  custom: {
    50: '#7368a4',
    500: '#33307e',
    950: '#000000',
  },
}
SCSS
$custom: #33307e;
$custom-light: #7368a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33307e",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 242.308,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.12799,
    "h": 279.6
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#33307E
secondary
#A8AB5F
accent
#D553D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #33307E

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

Preview Lab → · Contrast checker → · Palette generator →

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