#333CB3#333CB3

#333CB3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.185 H 272.4°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#333CB3
RGBrgb(51, 60, 179)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 70%)
CMYKcmyk(71.5%, 66.5%, 0%, 29.8%)
CIE-LABlab(32.23, 36.60, -64.07)
CIE-LCHlch(32.23, 73.79, 299.74°)
OKLaboklab(43.07% 0.0077 -0.1852)
OKLCHoklch(43.07% 0.185 272.4)
XYZxyz(11.1150, 7.1891, 43.4409)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB3 #B3AA33
analogous
#337CB3 #333CB3 #6A33B3
triadic
#333CB3 #B3333C #3CB333
tetradic
#333CB3 #B3337C #B3AA33 #33B36A
square
#333CB3 #B3337C #B3AA33 #33B36A
split-complementary
#333CB3 #B36A33 #7CB333
monochromatic
#181C54 #252C83 #333CB3 #555DCE #848BDC

Accessibility & contrast

On white

8.61
#333CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#333CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CB3
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB3#FFFFFF#000000##FFFFFF
##333CB31.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333cb3;
/* rgb */ color: rgb(51, 60, 179);
/* oklch */ color: oklch(43.1% 0.185 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d72cb',
    500: '#333cb3',
    950: '#000000',
  },
}
SCSS
$custom: #333cb3;
$custom-light: #7d72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb3",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 235.781,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43071,
    "c": 0.18533,
    "h": 272.4
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#333CB3
secondary
#C6C07C
accent
#D449DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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