#2639A8#2639A8

#2639A8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.178 H 269.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2639A8
RGBrgb(38, 57, 168)
HSLhsl(231, 63%, 40%)
HSVhsv(231, 77%, 66%)
CMYKcmyk(77.4%, 66.1%, 0%, 34.1%)
CIE-LABlab(29.82, 33.12, -61.48)
CIE-LCHlch(29.82, 69.83, 298.31°)
OKLaboklab(40.82% -0.003 -0.1779)
OKLCHoklch(40.82% 0.178 269)
XYZxyz(9.3279, 6.1644, 37.7364)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2639A8 #A89526
analogous
#267AA8 #2639A8 #5426A8
triadic
#2639A8 #A82639 #39A826
tetradic
#2639A8 #A8267A #A89526 #26A854
square
#2639A8 #A8267A #A89526 #26A854
split-complementary
#2639A8 #A85426 #7AA826
monochromatic
#0F1744 #1B2876 #2639A8 #394FD2 #6B7CDE

Accessibility & contrast

On white

9.40
#2639A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2639A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2639A8
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2639A8#FFFFFF#000000##FFFFFF
##2639A81.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2639a8;
/* rgb */ color: rgb(38, 57, 168);
/* oklch */ color: oklch(40.8% 0.178 269.0);
Tailwind
colors: {
  custom: {
    50: '#766fc3',
    500: '#2639a8',
    950: '#000000',
  },
}
SCSS
$custom: #2639a8;
$custom-light: #766fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2639a8",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 231.231,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40818,
    "c": 0.17792,
    "h": 269
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#2639A8
secondary
#C4B666
accent
#CE42E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2639A8

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

Preview Lab → · Contrast checker → · Palette generator →

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