#333AAE#333AAE

#333AAE is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.181 H 273.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#333AAE
RGBrgb(51, 58, 174)
HSLhsl(237, 55%, 44%)
HSVhsv(237, 71%, 68%)
CMYKcmyk(70.7%, 66.7%, 0%, 31.8%)
CIE-LABlab(31.31, 36.10, -62.61)
CIE-LCHlch(31.31, 72.27, 299.97°)
OKLaboklab(42.26% 0.0095 -0.1809)
OKLCHoklch(42.26% 0.181 273)
XYZxyz(10.5157, 6.7849, 40.7916)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333AAE #AEA733
analogous
#3378AE #333AAE #6A33AE
triadic
#333AAE #AE333A #3AAE33
tetradic
#333AAE #AE3378 #AEA733 #33AE6A
square
#333AAE #AE3378 #AEA733 #33AE6A
split-complementary
#333AAE #AE6A33 #78AE33
monochromatic
#171A4F #252A7F #333AAE #5259CC #8186DA

Accessibility & contrast

On white

8.91
#333AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#333AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333AAE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333AAE#FFFFFF#000000##FFFFFF
##333AAE1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #333aae;
/* rgb */ color: rgb(51, 58, 174);
/* oklch */ color: oklch(42.3% 0.181 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c70c7',
    500: '#333aae',
    950: '#000000',
  },
}
SCSS
$custom: #333aae;
$custom-light: #7c70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#333aae",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 236.585,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.18113,
    "h": 273
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#333AAE
secondary
#C3BF79
accent
#D64ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #333AAE

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

Preview Lab → · Contrast checker → · Palette generator →

#333AAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva