#333370#333370

#333370 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.103 H 279.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#333370
RGBrgb(51, 51, 112)
HSLhsl(240, 37%, 32%)
HSVhsv(240, 54%, 44%)
CMYKcmyk(54.5%, 54.5%, 0%, 56.1%)
CIE-LABlab(24.45, 18.71, -35.48)
CIE-LCHlch(24.45, 40.11, 297.81°)
OKLaboklab(35.61% 0.0175 -0.1013)
OKLCHoklch(35.61% 0.103 279.8)
XYZxyz(5.4728, 4.2410, 15.8563)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333370 #707033
analogous
#335270 #333370 #523370
triadic
#333370 #703333 #337033
tetradic
#333370 #703352 #707033 #337052
square
#333370 #703352 #707033 #337052
split-complementary
#333370 #705233 #527033
monochromatic
#0D0D1C #202046 #333370 #46469A #6565B9

Accessibility & contrast

On white

11.36
#333370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#333370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333370
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333370#FFFFFF#000000##FFFFFF
##3333701.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C72
Deuteranopia (green-blind)
#0C386F
Tritanopia (blue-blind)
#1A414C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333370;
/* rgb */ color: rgb(51, 51, 112);
/* oklch */ color: oklch(35.6% 0.103 279.8);
Tailwind
colors: {
  custom: {
    50: '#706a99',
    500: '#333370',
    950: '#000000',
  },
}
SCSS
$custom: #333370;
$custom-light: #706a99;
$custom-dark: #000000;
JSON
{
  "hex": "#333370",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 240,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35614,
    "c": 0.10276,
    "h": 279.8
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#333370
secondary
#A1A15E
accent
#CD5ACD
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333370

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

Preview Lab → · Contrast checker → · Palette generator →

#333370 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva