#3638AB#3638AB

#3638AB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.179 H 274.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3638AB
RGBrgb(54, 56, 171)
HSLhsl(239, 52%, 44%)
HSVhsv(239, 68%, 67%)
CMYKcmyk(68.4%, 67.3%, 0%, 32.9%)
CIE-LABlab(30.76, 36.68, -61.70)
CIE-LCHlch(30.76, 71.78, 300.73°)
OKLaboklab(41.83% 0.0147 -0.1782)
OKLCHoklch(41.83% 0.179 274.7)
XYZxyz(10.2837, 6.5520, 39.2429)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3638AB #ABA936
analogous
#3673AB #3638AB #6F36AB
triadic
#3638AB #AB3638 #38AB36
tetradic
#3638AB #AB3673 #ABA936 #36AB6F
square
#3638AB #AB3673 #ABA936 #36AB6F
split-complementary
#3638AB #AB6F36 #73AB36
monochromatic
#191A4E #27297C #3638AB #5557C9 #8385D8

Accessibility & contrast

On white

9.09
#3638AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3638AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3638AB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3638AB#FFFFFF#000000##FFFFFF
##3638AB1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3638ab;
/* rgb */ color: rgb(54, 56, 171);
/* oklch */ color: oklch(41.8% 0.179 274.7);
Tailwind
colors: {
  custom: {
    50: '#7d6fc5',
    500: '#3638ab',
    950: '#000000',
  },
}
SCSS
$custom: #3638ab;
$custom-light: #7d6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3638ab",
  "rgb": {
    "r": 54,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 238.974,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.17877,
    "h": 274.7
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#3638AB
secondary
#C2C07B
accent
#D94CDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3638AB

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

Preview Lab → · Contrast checker → · Palette generator →

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