#2647AB#2647AB

#2647AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.165 H 265.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2647AB
RGBrgb(38, 71, 171)
HSLhsl(225, 64%, 41%)
HSVhsv(225, 78%, 67%)
CMYKcmyk(77.8%, 58.5%, 0%, 32.9%)
CIE-LABlab(33.68, 25.00, -56.96)
CIE-LCHlch(33.68, 62.21, 293.69°)
OKLaboklab(43.76% -0.012 -0.1645)
OKLCHoklch(43.76% 0.165 265.8)
XYZxyz(10.4007, 7.8576, 39.4887)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2647AB #AB8A26
analogous
#2689AB #2647AB #4726AB
triadic
#2647AB #AB2647 #47AB26
tetradic
#2647AB #AB2689 #AB8A26 #26AB47
square
#2647AB #AB2689 #AB8A26 #26AB47
split-complementary
#2647AB #AB4726 #89AB26
monochromatic
#101D47 #1B3279 #2647AB #3B61D3 #6D89DF

Accessibility & contrast

On white

8.17
#2647AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2647AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2647AB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2647AB#FFFFFF#000000##FFFFFF
##2647AB1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2647ab;
/* rgb */ color: rgb(38, 71, 171);
/* oklch */ color: oklch(43.8% 0.165 265.8);
Tailwind
colors: {
  custom: {
    50: '#7579c5',
    500: '#2647ab',
    950: '#000000',
  },
}
SCSS
$custom: #2647ab;
$custom-light: #7579c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2647ab",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 225.113,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43759,
    "c": 0.16492,
    "h": 265.8
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#2647AB
secondary
#C5AE68
accent
#BE41E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2647AB

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

Preview Lab → · Contrast checker → · Palette generator →

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