#333CA2#333CA2

#333CA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.163 H 273.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#333CA2
RGBrgb(51, 60, 162)
HSLhsl(235, 52%, 42%)
HSVhsv(235, 69%, 64%)
CMYKcmyk(68.5%, 63%, 0%, 36.5%)
CIE-LABlab(30.74, 30.56, -56.33)
CIE-LCHlch(30.74, 64.09, 298.48°)
OKLaboklab(41.52% 0.0088 -0.1625)
OKLCHoklch(41.52% 0.163 273.1)
XYZxyz(9.5005, 6.5433, 34.9377)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CA2 #A29933
analogous
#3374A2 #333CA2 #6233A2
triadic
#333CA2 #A2333C #3CA233
tetradic
#333CA2 #A23374 #A29933 #33A262
square
#333CA2 #A23374 #A29933 #33A262
split-complementary
#333CA2 #A26233 #74A233
monochromatic
#161A45 #242B73 #333CA2 #4C56C7 #7A82D5

Accessibility & contrast

On white

9.10
#333CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#333CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CA2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CA2#FFFFFF#000000##FFFFFF
##333CA21.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #333ca2;
/* rgb */ color: rgb(51, 60, 162);
/* oklch */ color: oklch(41.5% 0.163 273.1);
Tailwind
colors: {
  custom: {
    50: '#7971be',
    500: '#333ca2',
    950: '#000000',
  },
}
SCSS
$custom: #333ca2;
$custom-light: #7971be;
$custom-dark: #000000;
JSON
{
  "hex": "#333ca2",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 235.135,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.16272,
    "h": 273.1
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#333CA2
secondary
#BEB873
accent
#D04CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #333CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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