#333266#333266

#333266 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.089 H 281.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#333266
RGBrgb(51, 50, 102)
HSLhsl(241, 34%, 30%)
HSVhsv(241, 51%, 40%)
CMYKcmyk(50%, 51%, 0%, 60%)
CIE-LABlab(23.49, 15.94, -30.58)
CIE-LCHlch(23.49, 34.48, 297.52°)
OKLaboklab(34.67% 0.0178 -0.0869)
OKLCHoklch(34.67% 0.089 281.6)
XYZxyz(4.9034, 3.9441, 13.0707)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333266 #656632
analogous
#324B66 #333266 #4D3266
triadic
#333266 #663332 #326633
tetradic
#333266 #66324B #656632 #32664D
square
#333266 #66324B #656632 #32664D
split-complementary
#333266 #664D32 #4B6632
monochromatic
#0A0A15 #1E1E3D #333266 #48468F #6261B2

Accessibility & contrast

On white

11.74
#333266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#333266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333266
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333266#FFFFFF#000000##FFFFFF
##3332661.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#183665
Tritanopia (blue-blind)
#213D47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #333266;
/* rgb */ color: rgb(51, 50, 102);
/* oklch */ color: oklch(34.7% 0.089 281.6);
Tailwind
colors: {
  custom: {
    50: '#6e6992',
    500: '#333266',
    950: '#000000',
  },
}
SCSS
$custom: #333266;
$custom-light: #6e6992;
$custom-dark: #000000;
JSON
{
  "hex": "#333266",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 241.154,
    "s": 34.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34666,
    "c": 0.08869,
    "h": 281.6
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#333266
secondary
#96975D
accent
#CA5EC8
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #333266

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

Preview Lab → · Contrast checker → · Palette generator →

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