#33368C#33368C

#33368C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.140 H 276.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#33368C
RGBrgb(51, 54, 140)
HSLhsl(238, 47%, 37%)
HSVhsv(238, 64%, 55%)
CMYKcmyk(63.6%, 61.4%, 0%, 45.1%)
CIE-LABlab(27.39, 26.62, -48.34)
CIE-LCHlch(27.39, 55.19, 298.84°)
OKLaboklab(38.48% 0.0149 -0.1391)
OKLCHoklch(38.48% 0.14 276.1)
XYZxyz(7.4165, 5.2350, 25.4255)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33368C #8C8933
analogous
#33628C #33368C #5D338C
triadic
#33368C #8C3336 #368C33
tetradic
#33368C #8C3362 #8C8933 #338C5D
square
#33368C #8C3362 #8C8933 #338C5D
split-complementary
#33368C #8C5D33 #628C33
monochromatic
#121332 #23255F #33368C #4347B9 #6F72CB

Accessibility & contrast

On white

10.26
#33368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#33368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33368C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33368C#FFFFFF#000000##FFFFFF
##33368C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #33368c;
/* rgb */ color: rgb(51, 54, 140);
/* oklch */ color: oklch(38.5% 0.140 276.1);
Tailwind
colors: {
  custom: {
    50: '#756dae',
    500: '#33368c',
    950: '#000000',
  },
}
SCSS
$custom: #33368c;
$custom-light: #756dae;
$custom-dark: #000000;
JSON
{
  "hex": "#33368c",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 237.978,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38481,
    "c": 0.13986,
    "h": 276.1
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#33368C
secondary
#B2B068
accent
#D252D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33368C

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

Preview Lab → · Contrast checker → · Palette generator →

#33368C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva