#333095#333095

#333095 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.160 H 277.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#333095
RGBrgb(51, 48, 149)
HSLhsl(242, 51%, 39%)
HSVhsv(242, 68%, 58%)
CMYKcmyk(65.8%, 67.8%, 0%, 41.6%)
CIE-LABlab(26.70, 33.66, -55.03)
CIE-LCHlch(26.70, 64.51, 301.45°)
OKLaboklab(38.21% 0.0195 -0.1587)
OKLCHoklch(38.21% 0.16 277)
XYZxyz(7.8452, 4.9870, 28.9771)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333095 #929530
analogous
#305F95 #333095 #653095
triadic
#333095 #953330 #309533
tetradic
#333095 #95305F #929530 #309565
square
#333095 #95305F #929530 #309565
split-complementary
#333095 #956530 #5F9530
monochromatic
#131238 #232167 #333095 #4441C2 #726FD1

Accessibility & contrast

On white

10.51
#333095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#333095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333095
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333095#FFFFFF#000000##FFFFFF
##3330951.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333095;
/* rgb */ color: rgb(51, 48, 149);
/* oklch */ color: oklch(38.2% 0.160 277.0);
Tailwind
colors: {
  custom: {
    50: '#7769b5',
    500: '#333095',
    950: '#000000',
  },
}
SCSS
$custom: #333095;
$custom-light: #7769b5;
$custom-dark: #000000;
JSON
{
  "hex": "#333095",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 241.782,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.15992,
    "h": 277
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#333095
secondary
#B6B869
accent
#DB4DD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333095

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

Preview Lab → · Contrast checker → · Palette generator →

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