#362B7E#362B7E

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

Color values

HEX#362B7E
RGBrgb(54, 43, 126)
HSLhsl(248, 49%, 33%)
HSVhsv(248, 66%, 49%)
CMYKcmyk(57.1%, 65.9%, 0%, 50.6%)
CIE-LABlab(23.73, 29.48, -45.54)
CIE-LCHlch(23.73, 54.25, 302.91°)
OKLaboklab(35.49% 0.0306 -0.1308)
OKLCHoklch(35.49% 0.134 283.2)
XYZxyz(6.1499, 4.0180, 20.1861)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B7E #737E2B
analogous
#2B497E #362B7E #5F2B7E
triadic
#362B7E #7E362B #2B7E36
tetradic
#362B7E #7E2B49 #737E2B #2B7E5F
square
#362B7E #7E2B49 #737E2B #2B7E5F
split-complementary
#362B7E #7E5F2B #497E2B
monochromatic
#0F0C23 #221B50 #362B7E #4A3BAC #6A5CC7

Accessibility & contrast

On white

11.64
#362B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#362B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B7E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B7E#FFFFFF#000000##FFFFFF
##362B7E1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#143F50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362b7e;
/* rgb */ color: rgb(54, 43, 126);
/* oklch */ color: oklch(35.5% 0.134 283.2);
Tailwind
colors: {
  custom: {
    50: '#7565a4',
    500: '#362b7e',
    950: '#000000',
  },
}
SCSS
$custom: #362b7e;
$custom-light: #7565a4;
$custom-dark: #000000;
JSON
{
  "hex": "#362b7e",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 247.952,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35491,
    "c": 0.13434,
    "h": 283.2
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#362B7E
secondary
#A2AD58
accent
#D94FC6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #362B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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