#2639AB#2639AB

#2639AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.182 H 269.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2639AB
RGBrgb(38, 57, 171)
HSLhsl(231, 64%, 41%)
HSVhsv(231, 78%, 67%)
CMYKcmyk(77.8%, 66.7%, 0%, 32.9%)
CIE-LABlab(30.10, 34.22, -62.82)
CIE-LCHlch(30.10, 71.54, 298.58°)
OKLaboklab(41.11% -0.0032 -0.1818)
OKLCHoklch(41.11% 0.182 269)
XYZxyz(9.6106, 6.2775, 39.2254)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2639AB #AB9826
analogous
#267BAB #2639AB #5626AB
triadic
#2639AB #AB2639 #39AB26
tetradic
#2639AB #AB267B #AB9826 #26AB56
square
#2639AB #AB267B #AB9826 #26AB56
split-complementary
#2639AB #AB5626 #7BAB26
monochromatic
#101847 #1B2879 #2639AB #3B51D3 #6D7DDF

Accessibility & contrast

On white

9.31
#2639AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2639AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2639AB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2639AB#FFFFFF#000000##FFFFFF
##2639AB1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2639ab;
/* rgb */ color: rgb(38, 57, 171);
/* oklch */ color: oklch(41.1% 0.182 269.0);
Tailwind
colors: {
  custom: {
    50: '#776fc5',
    500: '#2639ab',
    950: '#000000',
  },
}
SCSS
$custom: #2639ab;
$custom-light: #776fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2639ab",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 231.429,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.18184,
    "h": 269
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#2639AB
secondary
#C5B868
accent
#CF41E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2639AB

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

Preview Lab → · Contrast checker → · Palette generator →

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