#333274#333274

#333274 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.7% C 0.110 H 279.9°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#333274
RGBrgb(51, 50, 116)
HSLhsl(241, 40%, 33%)
HSVhsv(241, 57%, 45%)
CMYKcmyk(56%, 56.9%, 0%, 54.5%)
CIE-LABlab(24.47, 20.79, -38.01)
CIE-LCHlch(24.47, 43.32, 298.68°)
OKLaboklab(35.72% 0.019 -0.1087)
OKLCHoklch(35.72% 0.11 279.9)
XYZxyz(5.6572, 4.2456, 17.0410)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333274 #737432
analogous
#325274 #333274 #543274
triadic
#333274 #743332 #327433
tetradic
#333274 #743252 #737432 #327454
square
#333274 #743252 #737432 #327454
split-complementary
#333274 #745432 #527432
monochromatic
#0D0D1E #202049 #333274 #46449F #6564BC

Accessibility & contrast

On white

11.36
#333274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#333274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333274
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333274#FFFFFF#000000##FFFFFF
##3332741.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#16414E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #333274;
/* rgb */ color: rgb(51, 50, 116);
/* oklch */ color: oklch(35.7% 0.110 279.9);
Tailwind
colors: {
  custom: {
    50: '#716a9c',
    500: '#333274',
    950: '#000000',
  },
}
SCSS
$custom: #333274;
$custom-light: #716a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#333274",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 240.909,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35718,
    "c": 0.11036,
    "h": 279.9
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#333274
secondary
#A3A45E
accent
#D058CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #333274

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

Preview Lab → · Contrast checker → · Palette generator →

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