#2639A5#2639A5

#2639A5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.174 H 269.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2639A5
RGBrgb(38, 57, 165)
HSLhsl(231, 63%, 40%)
HSVhsv(231, 77%, 65%)
CMYKcmyk(77%, 65.5%, 0%, 35.3%)
CIE-LABlab(29.55, 32.00, -60.12)
CIE-LCHlch(29.55, 68.11, 298.03°)
OKLaboklab(40.53% -0.0028 -0.1739)
OKLCHoklch(40.53% 0.174 269.1)
XYZxyz(9.0516, 6.0539, 36.2815)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2639A5 #A59226
analogous
#2678A5 #2639A5 #5326A5
triadic
#2639A5 #A52639 #39A526
tetradic
#2639A5 #A52678 #A59226 #26A553
square
#2639A5 #A52678 #A59226 #26A553
split-complementary
#2639A5 #A55326 #78A526
monochromatic
#0F1742 #1B2873 #2639A5 #374ED1 #697ADC

Accessibility & contrast

On white

9.50
#2639A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2639A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2639A5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2639A5#FFFFFF#000000##FFFFFF
##2639A51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2639a5;
/* rgb */ color: rgb(38, 57, 165);
/* oklch */ color: oklch(40.5% 0.174 269.1);
Tailwind
colors: {
  custom: {
    50: '#756fc1',
    500: '#2639a5',
    950: '#000000',
  },
}
SCSS
$custom: #2639a5;
$custom-light: #756fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2639a5",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 231.024,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.17394,
    "h": 269.1
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#2639A5
secondary
#C3B464
accent
#CD42E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2639A5

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

Preview Lab → · Contrast checker → · Palette generator →

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