#333CBF#333CBF

#333CBF is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.2% C 0.201 H 271.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#333CBF
RGBrgb(51, 60, 191)
HSLhsl(236, 58%, 47%)
HSVhsv(236, 73%, 75%)
CMYKcmyk(73.3%, 68.6%, 0%, 25.1%)
CIE-LABlab(33.34, 40.79, -69.35)
CIE-LCHlch(33.34, 80.45, 300.46°)
OKLaboklab(44.21% 0.0065 -0.2006)
OKLCHoklch(44.21% 0.201 271.9)
XYZxyz(12.3819, 7.6958, 50.1130)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CBF #BFB633
analogous
#3382BF #333CBF #7033BF
triadic
#333CBF #BF333C #3CBF33
tetradic
#333CBF #BF3382 #BFB633 #33BF70
square
#333CBF #BF3382 #BFB633 #33BF70
split-complementary
#333CBF #BF7033 #82BF33
monochromatic
#191E5E #262D8F #333CBF #5C63D3 #8C91E0

Accessibility & contrast

On white

8.27
#333CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#333CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CBF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CBF#FFFFFF#000000##FFFFFF
##333CBF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333cbf;
/* rgb */ color: rgb(51, 60, 191);
/* oklch */ color: oklch(44.2% 0.201 271.9);
Tailwind
colors: {
  custom: {
    50: '#8072d3',
    500: '#333cbf',
    950: '#000000',
  },
}
SCSS
$custom: #333cbf;
$custom-light: #8072d3;
$custom-dark: #000000;
JSON
{
  "hex": "#333cbf",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 236.143,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.20069,
    "h": 271.9
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#333CBF
secondary
#CBC683
accent
#D747E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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