#33378D#33378D

#33378D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.140 H 275.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#33378D
RGBrgb(51, 55, 141)
HSLhsl(237, 47%, 38%)
HSVhsv(237, 64%, 55%)
CMYKcmyk(63.8%, 61%, 0%, 44.7%)
CIE-LABlab(27.73, 26.31, -48.41)
CIE-LCHlch(27.73, 55.10, 298.53°)
OKLaboklab(38.76% 0.0139 -0.1393)
OKLCHoklch(38.76% 0.14 275.7)
XYZxyz(7.5376, 5.3587, 25.8313)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33378D #8D8933
analogous
#33648D #33378D #5C338D
triadic
#33378D #8D3337 #378D33
tetradic
#33378D #8D3364 #8D8933 #338D5C
square
#33378D #8D3364 #8D8933 #338D5C
split-complementary
#33378D #8D5C33 #648D33
monochromatic
#121433 #232560 #33378D #4349BA #6F73CB

Accessibility & contrast

On white

10.14
#33378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#33378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33378D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33378D#FFFFFF#000000##FFFFFF
##33378D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #33378d;
/* rgb */ color: rgb(51, 55, 141);
/* oklch */ color: oklch(38.8% 0.140 275.7);
Tailwind
colors: {
  custom: {
    50: '#756eaf',
    500: '#33378d',
    950: '#000000',
  },
}
SCSS
$custom: #33378d;
$custom-light: #756eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#33378d",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 237.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38757,
    "c": 0.13994,
    "h": 275.7
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#33378D
secondary
#B3B069
accent
#D151D7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33378D

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

Preview Lab → · Contrast checker → · Palette generator →

#33378D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva