#2637A4#2637A4

#2637A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.175 H 269.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2637A4
RGBrgb(38, 55, 164)
HSLhsl(232, 62%, 40%)
HSVhsv(232, 77%, 64%)
CMYKcmyk(76.8%, 66.5%, 0%, 35.7%)
CIE-LABlab(28.96, 32.94, -60.48)
CIE-LCHlch(28.96, 68.87, 298.57°)
OKLaboklab(40.08% -0.0016 -0.175)
OKLCHoklch(40.08% 0.175 269.5)
XYZxyz(8.8641, 5.8238, 35.7717)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2637A4 #A49326
analogous
#2676A4 #2637A4 #5426A4
triadic
#2637A4 #A42637 #37A426
tetradic
#2637A4 #A42676 #A49326 #26A454
square
#2637A4 #A42676 #A49326 #26A454
split-complementary
#2637A4 #A45426 #76A426
monochromatic
#0F1641 #1A2672 #2637A4 #374BD1 #6878DC

Accessibility & contrast

On white

9.70
#2637A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2637A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2637A4
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2637A4#FFFFFF#000000##FFFFFF
##2637A41.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2637a4;
/* rgb */ color: rgb(38, 55, 164);
/* oklch */ color: oklch(40.1% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#756ec0',
    500: '#2637a4',
    950: '#000000',
  },
}
SCSS
$custom: #2637a4;
$custom-light: #756ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2637a4",
  "rgb": {
    "r": 38,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 231.905,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.17499,
    "h": 269.5
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#2637A4
secondary
#C2B564
accent
#CF42E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2637A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2637A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva