#2647B2#2647B2

#2647B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.174 H 266.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2647B2
RGBrgb(38, 71, 178)
HSLhsl(226, 65%, 42%)
HSVhsv(226, 79%, 70%)
CMYKcmyk(78.7%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.26, 27.67, -60.20)
CIE-LCHlch(34.26, 66.25, 294.69°)
OKLaboklab(44.36% -0.0118 -0.174)
OKLCHoklch(44.36% 0.174 266.1)
XYZxyz(11.0856, 8.1316, 43.0962)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2647B2 #B29126
analogous
#268DB2 #2647B2 #4B26B2
triadic
#2647B2 #B22647 #47B226
tetradic
#2647B2 #B2268D #B29126 #26B24B
square
#2647B2 #B2268D #B29126 #26B24B
split-complementary
#2647B2 #B24B26 #8DB226
monochromatic
#101F4D #1B3380 #2647B2 #3F63D6 #728CE1

Accessibility & contrast

On white

8.00
#2647B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2647B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2647B2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2647B2#FFFFFF#000000##FFFFFF
##2647B21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2647b2;
/* rgb */ color: rgb(38, 71, 178);
/* oklch */ color: oklch(44.4% 0.174 266.1);
Tailwind
colors: {
  custom: {
    50: '#7779ca',
    500: '#2647b2',
    950: '#000000',
  },
}
SCSS
$custom: #2647b2;
$custom-light: #7779ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2647b2",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 225.857,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44364,
    "c": 0.17438,
    "h": 266.1
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#2647B2
secondary
#C8B26C
accent
#C040E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2647B2

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

Preview Lab → · Contrast checker → · Palette generator →

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