#333CA0#333CA0

#333CA0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.160 H 273.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#333CA0
RGBrgb(51, 60, 160)
HSLhsl(235, 52%, 41%)
HSVhsv(235, 68%, 63%)
CMYKcmyk(68.1%, 62.5%, 0%, 37.3%)
CIE-LABlab(30.57, 29.85, -55.40)
CIE-LCHlch(30.57, 62.92, 298.31°)
OKLaboklab(41.34% 0.0089 -0.1597)
OKLCHoklch(41.34% 0.16 273.2)
XYZxyz(9.3241, 6.4727, 34.0089)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CA0 #A09733
analogous
#3373A0 #333CA0 #6133A0
triadic
#333CA0 #A0333C #3CA033
tetradic
#333CA0 #A03373 #A09733 #33A061
square
#333CA0 #A03373 #A09733 #33A061
split-complementary
#333CA0 #A06133 #73A033
monochromatic
#151943 #242B72 #333CA0 #4B55C6 #7981D4

Accessibility & contrast

On white

9.15
#333CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#333CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CA0
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CA0#FFFFFF#000000##FFFFFF
##333CA01.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #333ca0;
/* rgb */ color: rgb(51, 60, 160);
/* oklch */ color: oklch(41.3% 0.160 273.2);
Tailwind
colors: {
  custom: {
    50: '#7971bd',
    500: '#333ca0',
    950: '#000000',
  },
}
SCSS
$custom: #333ca0;
$custom-light: #7971bd;
$custom-dark: #000000;
JSON
{
  "hex": "#333ca0",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 235.046,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.15999,
    "h": 273.2
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#333CA0
secondary
#BDB772
accent
#CF4DDB
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #333CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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