#2647A7#2647A7

#2647A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.159 H 265.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2647A7
RGBrgb(38, 71, 167)
HSLhsl(225, 63%, 40%)
HSVhsv(225, 77%, 65%)
CMYKcmyk(77.2%, 57.5%, 0%, 34.5%)
CIE-LABlab(33.37, 23.46, -55.09)
CIE-LCHlch(33.37, 59.88, 293.06°)
OKLaboklab(43.42% -0.0121 -0.159)
OKLCHoklch(43.42% 0.159 265.6)
XYZxyz(10.0252, 7.7074, 37.5111)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2647A7 #A78626
analogous
#2688A7 #2647A7 #4526A7
triadic
#2647A7 #A72647 #47A726
tetradic
#2647A7 #A72688 #A78626 #26A745
square
#2647A7 #A72688 #A78626 #26A745
split-complementary
#2647A7 #A74526 #88A726
monochromatic
#0F1D43 #1B3275 #2647A7 #3860D2 #6A88DD

Accessibility & contrast

On white

8.26
#2647A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2647A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2647A7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2647A7#FFFFFF#000000##FFFFFF
##2647A71.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2647a7;
/* rgb */ color: rgb(38, 71, 167);
/* oklch */ color: oklch(43.4% 0.159 265.6);
Tailwind
colors: {
  custom: {
    50: '#7479c2',
    500: '#2647a7',
    950: '#000000',
  },
}
SCSS
$custom: #2647a7;
$custom-light: #7479c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2647a7",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 224.651,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4342,
    "c": 0.15945,
    "h": 265.6
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#2647A7
secondary
#C3AB65
accent
#BC42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2647A7

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

Preview Lab → · Contrast checker → · Palette generator →

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