#3640AF#3640AF

#3640AF is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.175 H 272.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#3640AF
RGBrgb(54, 64, 175)
HSLhsl(235, 53%, 45%)
HSVhsv(235, 69%, 69%)
CMYKcmyk(69.1%, 63.4%, 0%, 31.4%)
CIE-LABlab(33.02, 33.04, -60.40)
CIE-LCHlch(33.02, 68.85, 298.68°)
OKLaboklab(43.58% 0.0085 -0.1743)
OKLCHoklch(43.58% 0.175 272.8)
XYZxyz(11.0900, 7.5452, 41.4210)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3640AF #AFA536
analogous
#367DAF #3640AF #6836AF
triadic
#3640AF #AF3640 #40AF36
tetradic
#3640AF #AF367D #AFA536 #36AF68
square
#3640AF #AF367D #AFA536 #36AF68
split-complementary
#3640AF #AF6836 #7DAF36
monochromatic
#191E51 #282F80 #3640AF #5761CB #868DDA

Accessibility & contrast

On white

8.37
#3640AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3640AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3640AF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3640AF#FFFFFF#000000##FFFFFF
##3640AF1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3640af;
/* rgb */ color: rgb(54, 64, 175);
/* oklch */ color: oklch(43.6% 0.175 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d75c8',
    500: '#3640af',
    950: '#000000',
  },
}
SCSS
$custom: #3640af;
$custom-light: #7d75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3640af",
  "rgb": {
    "r": 54,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 235.041,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.17453,
    "h": 272.8
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#3640AF
secondary
#C3BE7D
accent
#D04CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3640AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3640AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva