#2639A4#2639A4

#2639A4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.173 H 269.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2639A4
RGBrgb(38, 57, 164)
HSLhsl(231, 62%, 40%)
HSVhsv(231, 77%, 64%)
CMYKcmyk(76.8%, 65.2%, 0%, 35.7%)
CIE-LABlab(29.46, 31.63, -59.67)
CIE-LCHlch(29.46, 67.54, 297.93°)
OKLaboklab(40.44% -0.0028 -0.1726)
OKLCHoklch(40.44% 0.173 269.1)
XYZxyz(8.9610, 6.0177, 35.8040)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2639A4 #A49126
analogous
#2678A4 #2639A4 #5226A4
triadic
#2639A4 #A42639 #39A426
tetradic
#2639A4 #A42678 #A49126 #26A452
square
#2639A4 #A42678 #A49126 #26A452
split-complementary
#2639A4 #A45226 #78A426
monochromatic
#0F1641 #1A2872 #2639A4 #374ED1 #687ADC

Accessibility & contrast

On white

9.53
#2639A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2639A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2639A4
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2639A4#FFFFFF#000000##FFFFFF
##2639A41.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2639a4;
/* rgb */ color: rgb(38, 57, 164);
/* oklch */ color: oklch(40.4% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#756fc0',
    500: '#2639a4',
    950: '#000000',
  },
}
SCSS
$custom: #2639a4;
$custom-light: #756fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2639a4",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 230.952,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.17262,
    "h": 269.1
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#2639A4
secondary
#C2B464
accent
#CD42E5
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2639A4

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

Preview Lab → · Contrast checker → · Palette generator →

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