#362E8E#362E8E

#362E8E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.152 H 279.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#362E8E
RGBrgb(54, 46, 142)
HSLhsl(245, 51%, 37%)
HSVhsv(245, 68%, 56%)
CMYKcmyk(62%, 67.6%, 0%, 44.3%)
CIE-LABlab(25.83, 32.98, -52.11)
CIE-LCHlch(25.83, 61.67, 302.33°)
OKLaboklab(37.45% 0.026 -0.1501)
OKLCHoklch(37.45% 0.152 279.8)
XYZxyz(7.3793, 4.6907, 26.1025)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362E8E #868E2E
analogous
#2E568E #362E8E #662E8E
triadic
#362E8E #8E362E #2E8E36
tetradic
#362E8E #8E2E56 #868E2E #2E8E66
square
#362E8E #8E2E56 #868E2E #2E8E66
split-complementary
#362E8E #8E662E #568E2E
monochromatic
#131032 #241F60 #362E8E #483DBC #7168CE

Accessibility & contrast

On white

10.83
#362E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#362E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362E8E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362E8E#FFFFFF#000000##FFFFFF
##362E8E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #362e8e;
/* rgb */ color: rgb(54, 46, 142);
/* oklch */ color: oklch(37.5% 0.152 279.8);
Tailwind
colors: {
  custom: {
    50: '#7767b0',
    500: '#362e8e',
    950: '#000000',
  },
}
SCSS
$custom: #362e8e;
$custom-light: #7767b0;
$custom-dark: #000000;
JSON
{
  "hex": "#362e8e",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 245,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.15232,
    "h": 279.8
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#362E8E
secondary
#AEB563
accent
#DB4DCF
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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