#333288#333288

#333288 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.140 H 277.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#333288
RGBrgb(51, 50, 136)
HSLhsl(241, 46%, 36%)
HSVhsv(241, 63%, 53%)
CMYKcmyk(62.5%, 63.2%, 0%, 46.7%)
CIE-LABlab(26.05, 27.83, -48.05)
CIE-LCHlch(26.05, 55.53, 300.08°)
OKLaboklab(37.38% 0.0188 -0.1383)
OKLCHoklch(37.38% 0.14 277.8)
XYZxyz(6.9483, 4.7621, 23.8408)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333288 #878832
analogous
#325C88 #333288 #5E3288
triadic
#333288 #883332 #328833
tetradic
#333288 #88325C #878832 #32885E
square
#333288 #88325C #878832 #32885E
split-complementary
#333288 #885E32 #5C8832
monochromatic
#11112F #22225B #333288 #4442B5 #6D6CC9

Accessibility & contrast

On white

10.75
#333288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#333288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##333288#FFFFFF#000000##FFFFFF
##3332881.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)
#00418B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #333288;
/* rgb */ color: rgb(51, 50, 136);
/* oklch */ color: oklch(37.4% 0.140 277.8);
Tailwind
colors: {
  custom: {
    50: '#746aab',
    500: '#333288',
    950: '#000000',
  },
}
SCSS
$custom: #333288;
$custom-light: #746aab;
$custom-dark: #000000;
JSON
{
  "hex": "#333288",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 240.698,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37384,
    "c": 0.13953,
    "h": 277.8
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#333288
secondary
#B0B065
accent
#D652D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333288

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

Preview Lab → · Contrast checker → · Palette generator →

#333288 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva