#333C90#333C90

#333C90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.138 H 273.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#333C90
RGBrgb(51, 60, 144)
HSLhsl(234, 48%, 38%)
HSVhsv(234, 65%, 56%)
CMYKcmyk(64.6%, 58.3%, 0%, 43.5%)
CIE-LABlab(29.28, 24.06, -47.74)
CIE-LCHlch(29.28, 53.46, 296.75°)
OKLaboklab(39.98% 0.0091 -0.1372)
OKLCHoklch(39.98% 0.138 273.8)
XYZxyz(8.0135, 5.9485, 27.1060)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333C90 #908733
analogous
#336A90 #333C90 #593390
triadic
#333C90 #90333C #3C9033
tetradic
#333C90 #90336A #908733 #339059
square
#333C90 #90336A #908733 #339059
split-complementary
#333C90 #905933 #6A9033
monochromatic
#131636 #232963 #333C90 #444FBD #717ACD

Accessibility & contrast

On white

9.59
#333C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#333C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333C90
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333C90#FFFFFF#000000##FFFFFF
##333C901.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #333c90;
/* rgb */ color: rgb(51, 60, 144);
/* oklch */ color: oklch(40.0% 0.138 273.8);
Tailwind
colors: {
  custom: {
    50: '#7571b1',
    500: '#333c90',
    950: '#000000',
  },
}
SCSS
$custom: #333c90;
$custom-light: #7571b1;
$custom-dark: #000000;
JSON
{
  "hex": "#333c90",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 234.194,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.13755,
    "h": 273.8
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#333C90
secondary
#B5AD6A
accent
#CA51D7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333C90

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

Preview Lab → · Contrast checker → · Palette generator →

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