#362894#362894

#362894 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.167 H 280.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#362894
RGBrgb(54, 40, 148)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 73%, 58%)
CMYKcmyk(63.5%, 73%, 0%, 42%)
CIE-LABlab(25.07, 38.59, -57.07)
CIE-LCHlch(25.07, 68.89, 304.07°)
OKLaboklab(37.08% 0.0299 -0.1646)
OKLCHoklch(37.08% 0.167 280.3)
XYZxyz(7.6237, 4.4394, 28.4664)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362894 #869428
analogous
#285094 #362894 #6C2894
triadic
#362894 #943628 #289436
tetradic
#362894 #942850 #869428 #28946C
square
#362894 #942850 #869428 #28946C
split-complementary
#362894 #946C28 #509428
monochromatic
#130E34 #241B64 #362894 #4835C4 #7162D5

Accessibility & contrast

On white

11.12
#362894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#362894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362894
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362894#FFFFFF#000000##FFFFFF
##3628941.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362894;
/* rgb */ color: rgb(54, 40, 148);
/* oklch */ color: oklch(37.1% 0.167 280.3);
Tailwind
colors: {
  custom: {
    50: '#7964b4',
    500: '#362894',
    950: '#000000',
  },
}
SCSS
$custom: #362894;
$custom-light: #7964b4;
$custom-dark: #000000;
JSON
{
  "hex": "#362894",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 247.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.1673,
    "h": 280.3
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#362894
secondary
#AEBA5E
accent
#E147CD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #362894

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

Preview Lab → · Contrast checker → · Palette generator →

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