#333358#333358

#333358 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.064 H 282.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#333358
RGBrgb(51, 51, 88)
HSLhsl(240, 27%, 27%)
HSVhsv(240, 42%, 35%)
CMYKcmyk(42%, 42%, 0%, 65.5%)
CIE-LABlab(22.92, 10.56, -22.33)
CIE-LCHlch(22.92, 24.70, 295.31°)
OKLaboklab(33.95% 0.0138 -0.0627)
OKLCHoklch(33.95% 0.064 282.4)
XYZxyz(4.3100, 3.7759, 9.7324)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333358 #585833
analogous
#334658 #333358 #463358
triadic
#333358 #583333 #335833
tetradic
#333358 #583346 #585833 #335846
square
#333358 #583346 #585833 #335846
split-complementary
#333358 #584633 #465833
monochromatic
#0B0B13 #1D1D31 #333358 #49497F #6262A4

Accessibility & contrast

On white

11.96
#333358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#333358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333358
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333358#FFFFFF#000000##FFFFFF
##3333581.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#253557
Tritanopia (blue-blind)
#283A41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #333358;
/* rgb */ color: rgb(51, 51, 88);
/* oklch */ color: oklch(34.0% 0.064 282.4);
Tailwind
colors: {
  custom: {
    50: '#6c6a87',
    500: '#333358',
    950: '#000000',
  },
}
SCSS
$custom: #333358;
$custom-light: #6c6a87;
$custom-dark: #000000;
JSON
{
  "hex": "#333358",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 88
  },
  "hsl": {
    "h": 240,
    "s": 26.619,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33953,
    "c": 0.06424,
    "h": 282.4
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#333358
secondary
#89895E
accent
#C365C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #333358

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

Preview Lab → · Contrast checker → · Palette generator →

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