#362E78#362E78

#362E78 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.122 H 283.2°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#362E78
RGBrgb(54, 46, 120)
HSLhsl(246, 45%, 33%)
HSVhsv(246, 62%, 47%)
CMYKcmyk(55%, 61.7%, 0%, 52.9%)
CIE-LABlab(23.98, 25.51, -41.33)
CIE-LCHlch(23.98, 48.57, 301.68°)
OKLaboklab(35.52% 0.0278 -0.1184)
OKLCHoklch(35.52% 0.122 283.2)
XYZxyz(5.8874, 4.0940, 18.2456)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362E78 #70782E
analogous
#2E4B78 #362E78 #5B2E78
triadic
#362E78 #78362E #2E7836
tetradic
#362E78 #782E4B #70782E #2E785B
square
#362E78 #782E4B #70782E #2E785B
split-complementary
#362E78 #785B2E #4B782E
monochromatic
#0E0C20 #221D4C #362E78 #4A3FA4 #695FC2

Accessibility & contrast

On white

11.55
#362E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#362E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362E78
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362E78#FFFFFF#000000##FFFFFF
##362E781.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#1A3F4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362e78;
/* rgb */ color: rgb(54, 46, 120);
/* oklch */ color: oklch(35.5% 0.122 283.2);
Tailwind
colors: {
  custom: {
    50: '#7367a0',
    500: '#362e78',
    950: '#000000',
  },
}
SCSS
$custom: #362e78;
$custom-light: #7367a0;
$custom-dark: #000000;
JSON
{
  "hex": "#362e78",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 246.486,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35519,
    "c": 0.12163,
    "h": 283.2
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#362E78
secondary
#A0A85A
accent
#D454C6
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #362E78

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

Preview Lab → · Contrast checker → · Palette generator →

#362E78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva