#333D90#333D90

#333D90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.136 H 273.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#333D90
RGBrgb(51, 61, 144)
HSLhsl(234, 48%, 38%)
HSVhsv(234, 65%, 56%)
CMYKcmyk(64.6%, 57.6%, 0%, 43.5%)
CIE-LABlab(29.55, 23.40, -47.31)
CIE-LCHlch(29.55, 52.78, 296.31°)
OKLaboklab(40.18% 0.0081 -0.136)
OKLCHoklch(40.18% 0.136 273.4)
XYZxyz(8.0664, 6.0542, 27.1237)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333D90 #908633
analogous
#336B90 #333D90 #573390
triadic
#333D90 #90333D #3D9033
tetradic
#333D90 #90336B #908633 #339057
square
#333D90 #90336B #908633 #339057
split-complementary
#333D90 #905733 #6B9033
monochromatic
#131736 #232A63 #333D90 #4451BD #717BCD

Accessibility & contrast

On white

9.50
#333D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#333D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333D90
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333D90#FFFFFF#000000##FFFFFF
##333D901.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #333d90;
/* rgb */ color: rgb(51, 61, 144);
/* oklch */ color: oklch(40.2% 0.136 273.4);
Tailwind
colors: {
  custom: {
    50: '#7572b1',
    500: '#333d90',
    950: '#000000',
  },
}
SCSS
$custom: #333d90;
$custom-light: #7572b1;
$custom-dark: #000000;
JSON
{
  "hex": "#333d90",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 233.548,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4018,
    "c": 0.1362,
    "h": 273.4
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#333D90
secondary
#B5AD6A
accent
#C951D7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #333D90

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

Preview Lab → · Contrast checker → · Palette generator →

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