#333CAE#333CAE

#333CAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.179 H 272.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#333CAE
RGBrgb(51, 60, 174)
HSLhsl(236, 55%, 44%)
HSVhsv(236, 71%, 68%)
CMYKcmyk(70.7%, 65.5%, 0%, 31.8%)
CIE-LABlab(31.79, 34.84, -61.83)
CIE-LCHlch(31.79, 70.97, 299.40°)
OKLaboklab(42.61% 0.0081 -0.1786)
OKLCHoklch(42.61% 0.179 272.6)
XYZxyz(10.6185, 6.9905, 40.8259)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CAE #AEA533
analogous
#337AAE #333CAE #6833AE
triadic
#333CAE #AE333C #3CAE33
tetradic
#333CAE #AE337A #AEA533 #33AE68
square
#333CAE #AE337A #AEA533 #33AE68
split-complementary
#333CAE #AE6833 #7AAE33
monochromatic
#171B4F #252C7F #333CAE #525BCC #8188DA

Accessibility & contrast

On white

8.76
#333CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#333CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CAE
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CAE#FFFFFF#000000##FFFFFF
##333CAE1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #333cae;
/* rgb */ color: rgb(51, 60, 174);
/* oklch */ color: oklch(42.6% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c72c7',
    500: '#333cae',
    950: '#000000',
  },
}
SCSS
$custom: #333cae;
$custom-light: #7c72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#333cae",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 235.61,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42606,
    "c": 0.17878,
    "h": 272.6
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#333CAE
secondary
#C3BE79
accent
#D34ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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