#36338F#36338F

#36338F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.147 H 278.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#36338F
RGBrgb(54, 51, 143)
HSLhsl(242, 47%, 38%)
HSVhsv(242, 64%, 56%)
CMYKcmyk(62.2%, 64.3%, 0%, 43.9%)
CIE-LABlab(27.11, 30.15, -50.64)
CIE-LCHlch(27.11, 58.94, 300.77°)
OKLaboklab(38.41% 0.0214 -0.1458)
OKLCHoklch(38.41% 0.147 278.3)
XYZxyz(7.6615, 5.1345, 26.5686)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36338F #8C8F33
analogous
#335E8F #36338F #64338F
triadic
#36338F #8F3633 #338F36
tetradic
#36338F #8F335E #8C8F33 #338F64
square
#36338F #8F335E #8C8F33 #338F64
split-complementary
#36338F #8F6433 #5E8F33
monochromatic
#141335 #252362 #36338F #4743BC #7370CC

Accessibility & contrast

On white

10.36
#36338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#36338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36338F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36338F#FFFFFF#000000##FFFFFF
##36338F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #36338f;
/* rgb */ color: rgb(54, 51, 143);
/* oklch */ color: oklch(38.4% 0.147 278.3);
Tailwind
colors: {
  custom: {
    50: '#776bb1',
    500: '#36338f',
    950: '#000000',
  },
}
SCSS
$custom: #36338f;
$custom-light: #776bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#36338f",
  "rgb": {
    "r": 54,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 241.957,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38411,
    "c": 0.14732,
    "h": 278.3
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#36338F
secondary
#B2B46A
accent
#D751D3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #36338F

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

Preview Lab → · Contrast checker → · Palette generator →

#36338F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva