#333BBE#333BBE

#333BBE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.201 H 272.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#333BBE
RGBrgb(51, 59, 190)
HSLhsl(237, 58%, 47%)
HSVhsv(237, 73%, 75%)
CMYKcmyk(73.2%, 68.9%, 0%, 25.5%)
CIE-LABlab(33.02, 41.05, -69.28)
CIE-LCHlch(33.02, 80.53, 300.65°)
OKLaboklab(43.95% 0.0072 -0.2004)
OKLCHoklch(43.95% 0.201 272.1)
XYZxyz(12.2203, 7.5482, 49.5181)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BBE #BEB633
analogous
#3380BE #333BBE #7133BE
triadic
#333BBE #BE333B #3BBE33
tetradic
#333BBE #BE3380 #BEB633 #33BE71
square
#333BBE #BE3380 #BEB633 #33BE71
split-complementary
#333BBE #BE7133 #80BE33
monochromatic
#191D5E #262C8E #333BBE #5B62D3 #8B90E0

Accessibility & contrast

On white

8.37
#333BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#333BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BBE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BBE#FFFFFF#000000##FFFFFF
##333BBE1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333bbe;
/* rgb */ color: rgb(51, 59, 190);
/* oklch */ color: oklch(44.0% 0.201 272.1);
Tailwind
colors: {
  custom: {
    50: '#7f71d3',
    500: '#333bbe',
    950: '#000000',
  },
}
SCSS
$custom: #333bbe;
$custom-light: #7f71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#333bbe",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 236.547,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.20052,
    "h": 272.1
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#333BBE
secondary
#CAC683
accent
#D847E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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