#333BAE#333BAE

#333BAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.180 H 272.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#333BAE
RGBrgb(51, 59, 174)
HSLhsl(236, 55%, 44%)
HSVhsv(236, 71%, 68%)
CMYKcmyk(70.7%, 66.1%, 0%, 31.8%)
CIE-LABlab(31.55, 35.47, -62.22)
CIE-LCHlch(31.55, 71.62, 299.69°)
OKLaboklab(42.43% 0.0088 -0.1797)
OKLCHoklch(42.43% 0.18 272.8)
XYZxyz(10.5666, 6.8867, 40.8086)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BAE #AEA633
analogous
#3379AE #333BAE #6933AE
triadic
#333BAE #AE333B #3BAE33
tetradic
#333BAE #AE3379 #AEA633 #33AE69
square
#333BAE #AE3379 #AEA633 #33AE69
split-complementary
#333BAE #AE6933 #79AE33
monochromatic
#171B4F #252B7F #333BAE #525ACC #8187DA

Accessibility & contrast

On white

8.83
#333BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#333BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BAE
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BAE#FFFFFF#000000##FFFFFF
##333BAE1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #333bae;
/* rgb */ color: rgb(51, 59, 174);
/* oklch */ color: oklch(42.4% 0.180 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c71c7',
    500: '#333bae',
    950: '#000000',
  },
}
SCSS
$custom: #333bae;
$custom-light: #7c71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#333bae",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 236.098,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.17997,
    "h": 272.8
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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