#36397E#36397E

#36397E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.2% C 0.115 H 277.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#36397E
RGBrgb(54, 57, 126)
HSLhsl(238, 40%, 35%)
HSVhsv(238, 57%, 49%)
CMYKcmyk(57.1%, 54.8%, 0%, 50.6%)
CIE-LABlab(27.34, 20.23, -39.69)
CIE-LCHlch(27.34, 44.55, 297.01°)
OKLaboklab(38.16% 0.0152 -0.1135)
OKLCHoklch(38.16% 0.115 277.6)
XYZxyz(6.7492, 5.2164, 20.3858)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36397E #7E7B36
analogous
#365D7E #36397E #57367E
triadic
#36397E #7E3639 #397E36
tetradic
#36397E #7E365D #7E7B36 #367E57
square
#36397E #7E365D #7E7B36 #367E57
split-complementary
#36397E #7E5736 #5D7E36
monochromatic
#111228 #242653 #36397E #484CA9 #6E71C1

Accessibility & contrast

On white

10.28
#36397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#36397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36397E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36397E#FFFFFF#000000##FFFFFF
##36397E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124480
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#124955
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #36397e;
/* rgb */ color: rgb(54, 57, 126);
/* oklch */ color: oklch(38.2% 0.115 277.6);
Tailwind
colors: {
  custom: {
    50: '#746fa4',
    500: '#36397e',
    950: '#000000',
  },
}
SCSS
$custom: #36397e;
$custom-light: #746fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#36397e",
  "rgb": {
    "r": 54,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 237.5,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.11451,
    "h": 277.6
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#36397E
secondary
#A9A667
accent
#CB58D0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #36397E

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

Preview Lab → · Contrast checker → · Palette generator →

#36397E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva