#362E8B#362E8B

#362E8B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.148 H 280.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#362E8B
RGBrgb(54, 46, 139)
HSLhsl(245, 50%, 36%)
HSVhsv(245, 67%, 55%)
CMYKcmyk(61.2%, 66.9%, 0%, 45.5%)
CIE-LABlab(25.57, 31.96, -50.69)
CIE-LCHlch(25.57, 59.92, 302.24°)
OKLaboklab(37.18% 0.0263 -0.1459)
OKLCHoklch(37.18% 0.148 280.2)
XYZxyz(7.1570, 4.6018, 24.9322)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362E8B #838B2E
analogous
#2E558B #362E8B #652E8B
triadic
#362E8B #8B362E #2E8B36
tetradic
#362E8B #8B2E55 #838B2E #2E8B65
square
#362E8B #8B2E55 #838B2E #2E8B65
split-complementary
#362E8B #8B652E #558B2E
monochromatic
#12102F #241F5D #362E8B #483DB9 #7067CD

Accessibility & contrast

On white

10.94
#362E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#362E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362E8B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362E8B#FFFFFF#000000##FFFFFF
##362E8B1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #362e8b;
/* rgb */ color: rgb(54, 46, 139);
/* oklch */ color: oklch(37.2% 0.148 280.2);
Tailwind
colors: {
  custom: {
    50: '#7767ae',
    500: '#362e8b',
    950: '#000000',
  },
}
SCSS
$custom: #362e8b;
$custom-light: #7767ae;
$custom-dark: #000000;
JSON
{
  "hex": "#362e8b",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 245.161,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37177,
    "c": 0.14827,
    "h": 280.2
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#362E8B
secondary
#ACB361
accent
#DA4ECE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #362E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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