#366AB7#366AB7

#366AB7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 52.8% C 0.134 H 258.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#366AB7
RGBrgb(54, 106, 183)
HSLhsl(216, 54%, 46%)
HSVhsv(216, 70%, 72%)
CMYKcmyk(70.5%, 42.1%, 0%, 28.2%)
CIE-LABlab(44.96, 8.78, -45.83)
CIE-LCHlch(44.96, 46.66, 280.84°)
OKLaboklab(52.8% -0.0273 -0.1309)
OKLCHoklch(52.8% 0.134 258.2)
XYZxyz(15.2195, 14.5096, 46.7891)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366AB7 #B78336
analogous
#36ABB7 #366AB7 #4336B7
triadic
#366AB7 #B7366A #6AB736
tetradic
#366AB7 #B736AB #B78336 #36B743
square
#366AB7 #B736AB #B78336 #36B743
split-complementary
#366AB7 #B74336 #ABB736
monochromatic
#1A3358 #284F88 #366AB7 #5B8ACF #8BACDD

Accessibility & contrast

On white

5.38
#366AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#366AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366AB7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366AB7#FFFFFF#000000##FFFFFF
##366AB71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#3065B5
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #366ab7;
/* rgb */ color: rgb(54, 106, 183);
/* oklch */ color: oklch(52.8% 0.134 258.2);
Tailwind
colors: {
  custom: {
    50: '#7c94cd',
    500: '#366ab7',
    950: '#000000',
  },
}
SCSS
$custom: #366ab7;
$custom-light: #7c94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#366ab7",
  "rgb": {
    "r": 54,
    "g": 106,
    "b": 183
  },
  "hsl": {
    "h": 215.814,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.13369,
    "h": 258.2
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#366AB7
secondary
#C7AB82
accent
#A24ADE
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #366AB7

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

Preview Lab → · Contrast checker → · Palette generator →

#366AB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva