#333182#333182

#333182 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.132 H 278.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#333182
RGBrgb(51, 49, 130)
HSLhsl(241, 45%, 35%)
HSVhsv(241, 62%, 51%)
CMYKcmyk(60.8%, 62.3%, 0%, 49%)
CIE-LABlab(25.30, 26.38, -45.52)
CIE-LCHlch(25.30, 52.61, 300.09°)
OKLaboklab(36.68% 0.0201 -0.1308)
OKLCHoklch(36.68% 0.132 278.7)
XYZxyz(6.4915, 4.5117, 21.6435)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333182 #808231
analogous
#315882 #333182 #5B3182
triadic
#333182 #823331 #318233
tetradic
#333182 #823158 #808231 #31825B
square
#333182 #823158 #808231 #31825B
split-complementary
#333182 #825B31 #588231
monochromatic
#100F29 #222056 #333182 #4442AE #6A68C6

Accessibility & contrast

On white

11.04
#333182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#333182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333182
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333182#FFFFFF#000000##FFFFFF
##3331821.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #333182;
/* rgb */ color: rgb(51, 49, 130);
/* oklch */ color: oklch(36.7% 0.132 278.7);
Tailwind
colors: {
  custom: {
    50: '#7369a7',
    500: '#333182',
    950: '#000000',
  },
}
SCSS
$custom: #333182;
$custom-light: #7369a7;
$custom-dark: #000000;
JSON
{
  "hex": "#333182",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 241.481,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36677,
    "c": 0.13236,
    "h": 278.7
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#333182
secondary
#ABAD62
accent
#D553D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #333182

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

Preview Lab → · Contrast checker → · Palette generator →

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