#2647A5#2647A5

#2647A5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.157 H 265.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2647A5
RGBrgb(38, 71, 165)
HSLhsl(224, 63%, 40%)
HSVhsv(224, 77%, 65%)
CMYKcmyk(77%, 57%, 0%, 35.3%)
CIE-LABlab(33.21, 22.68, -54.15)
CIE-LCHlch(33.21, 58.71, 292.73°)
OKLaboklab(43.25% -0.0123 -0.1562)
OKLCHoklch(43.25% 0.157 265.5)
XYZxyz(9.8417, 7.6341, 36.5448)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2647A5 #A58426
analogous
#2687A5 #2647A5 #4426A5
triadic
#2647A5 #A52647 #47A526
tetradic
#2647A5 #A52687 #A58426 #26A544
square
#2647A5 #A52687 #A58426 #26A544
split-complementary
#2647A5 #A54426 #87A526
monochromatic
#0F1C42 #1B3273 #2647A5 #375FD1 #6987DC

Accessibility & contrast

On white

8.31
#2647A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2647A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2647A5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2647A5#FFFFFF#000000##FFFFFF
##2647A51.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2647a5;
/* rgb */ color: rgb(38, 71, 165);
/* oklch */ color: oklch(43.3% 0.157 265.5);
Tailwind
colors: {
  custom: {
    50: '#7479c0',
    500: '#2647a5',
    950: '#000000',
  },
}
SCSS
$custom: #2647a5;
$custom-light: #7479c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2647a5",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 224.409,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43253,
    "c": 0.1567,
    "h": 265.5
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#2647A5
secondary
#C3AA64
accent
#BB42E6
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2647A5

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

Preview Lab → · Contrast checker → · Palette generator →

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