#362E71#362E71

#362E71 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.9% C 0.111 H 284.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#362E71
RGBrgb(54, 46, 113)
HSLhsl(247, 42%, 31%)
HSVhsv(247, 59%, 44%)
CMYKcmyk(52.2%, 59.3%, 0%, 55.7%)
CIE-LABlab(23.44, 23.14, -37.74)
CIE-LCHlch(23.44, 44.27, 301.52°)
OKLaboklab(34.95% 0.0278 -0.1078)
OKLCHoklch(34.95% 0.111 284.5)
XYZxyz(5.4781, 3.9302, 16.0895)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362E71 #69712E
analogous
#2E4771 #362E71 #572E71
triadic
#362E71 #71362E #2E7136
tetradic
#362E71 #712E47 #69712E #2E7157
square
#362E71 #712E47 #69712E #2E7157
split-complementary
#362E71 #71572E #47712E
monochromatic
#0C0B1A #211C46 #362E71 #4B409C #685DBD

Accessibility & contrast

On white

11.76
#362E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#362E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362E71
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362E71#FFFFFF#000000##FFFFFF
##362E711.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#203D4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362e71;
/* rgb */ color: rgb(54, 46, 113);
/* oklch */ color: oklch(34.9% 0.111 284.5);
Tailwind
colors: {
  custom: {
    50: '#72679a',
    500: '#362e71',
    950: '#000000',
  },
}
SCSS
$custom: #362e71;
$custom-light: #72679a;
$custom-dark: #000000;
JSON
{
  "hex": "#362e71",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 247.164,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.11137,
    "h": 284.5
  },
  "luminance": 0.03931
}

Semantic roles & 50–950 ramp

primary
#362E71
secondary
#9AA258
accent
#D256C3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #362E71

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

Preview Lab → · Contrast checker → · Palette generator →

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