#3638B2#3638B2

#3638B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.188 H 274.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3638B2
RGBrgb(54, 56, 178)
HSLhsl(239, 53%, 45%)
HSVhsv(239, 70%, 70%)
CMYKcmyk(69.7%, 68.5%, 0%, 30.2%)
CIE-LABlab(31.41, 39.09, -64.83)
CIE-LCHlch(31.41, 75.70, 301.09°)
OKLaboklab(42.49% 0.0139 -0.1873)
OKLCHoklch(42.49% 0.188 274.2)
XYZxyz(10.9687, 6.8259, 42.8503)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3638B2 #B2B036
analogous
#3676B2 #3638B2 #7236B2
triadic
#3638B2 #B23638 #38B236
tetradic
#3638B2 #B23676 #B2B036 #36B272
square
#3638B2 #B23676 #B2B036 #36B272
split-complementary
#3638B2 #B27236 #76B236
monochromatic
#1A1A54 #282983 #3638B2 #595BCD #8889DB

Accessibility & contrast

On white

8.88
#3638B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3638B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3638B2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3638B2#FFFFFF#000000##FFFFFF
##3638B21.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3638b2;
/* rgb */ color: rgb(54, 56, 178);
/* oklch */ color: oklch(42.5% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e6fca',
    500: '#3638b2',
    950: '#000000',
  },
}
SCSS
$custom: #3638b2;
$custom-light: #7e6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3638b2",
  "rgb": {
    "r": 54,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 239.032,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.18782,
    "h": 274.2
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#3638B2
secondary
#C5C47F
accent
#DA4BDD
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3638B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3638B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva