#33307F#33307F

#33307F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.129 H 279.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#33307F
RGBrgb(51, 48, 127)
HSLhsl(242, 45%, 34%)
HSVhsv(242, 62%, 50%)
CMYKcmyk(59.8%, 62.2%, 0%, 50.2%)
CIE-LABlab(24.80, 25.99, -44.45)
CIE-LCHlch(24.80, 51.49, 300.32°)
OKLaboklab(36.23% 0.0212 -0.1277)
OKLCHoklch(36.23% 0.129 279.4)
XYZxyz(6.2517, 4.3496, 20.5847)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33307F #7C7F30
analogous
#30557F #33307F #5B307F
triadic
#33307F #7F3330 #307F33
tetradic
#33307F #7F3055 #7C7F30 #307F5B
square
#33307F #7F3055 #7C7F30 #307F5B
split-complementary
#33307F #7F5B30 #557F30
monochromatic
#0F0E26 #211F53 #33307F #4541AB #6865C5

Accessibility & contrast

On white

11.23
#33307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#33307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33307F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33307F#FFFFFF#000000##FFFFFF
##33307F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#044352
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #33307f;
/* rgb */ color: rgb(51, 48, 127);
/* oklch */ color: oklch(36.2% 0.129 279.4);
Tailwind
colors: {
  custom: {
    50: '#7368a5',
    500: '#33307f',
    950: '#000000',
  },
}
SCSS
$custom: #33307f;
$custom-light: #7368a5;
$custom-dark: #000000;
JSON
{
  "hex": "#33307f",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 242.278,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.12942,
    "h": 279.4
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33307F

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

Preview Lab → · Contrast checker → · Palette generator →

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