#333094#333094

#333094 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.159 H 277.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#333094
RGBrgb(51, 48, 148)
HSLhsl(242, 51%, 38%)
HSVhsv(242, 68%, 58%)
CMYKcmyk(65.5%, 67.6%, 0%, 42%)
CIE-LABlab(26.61, 33.31, -54.56)
CIE-LCHlch(26.61, 63.93, 301.41°)
OKLaboklab(38.12% 0.0196 -0.1574)
OKLCHoklch(38.12% 0.159 277.1)
XYZxyz(7.7658, 4.9552, 28.5584)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333094 #919430
analogous
#305F94 #333094 #653094
triadic
#333094 #943330 #309433
tetradic
#333094 #94305F #919430 #309465
square
#333094 #94305F #919430 #309465
split-complementary
#333094 #946530 #5F9430
monochromatic
#131238 #232166 #333094 #4440C1 #716ED0

Accessibility & contrast

On white

10.55
#333094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#333094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333094
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333094#FFFFFF#000000##FFFFFF
##3330941.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333094;
/* rgb */ color: rgb(51, 48, 148);
/* oklch */ color: oklch(38.1% 0.159 277.1);
Tailwind
colors: {
  custom: {
    50: '#7769b4',
    500: '#333094',
    950: '#000000',
  },
}
SCSS
$custom: #333094;
$custom-light: #7769b4;
$custom-dark: #000000;
JSON
{
  "hex": "#333094",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 241.8,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.15857,
    "h": 277.1
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#333094
secondary
#B5B868
accent
#DA4DD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333094

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

Preview Lab → · Contrast checker → · Palette generator →

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