#2647BA#2647BA

#2647BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.185 H 266.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2647BA
RGBrgb(38, 71, 186)
HSLhsl(227, 66%, 44%)
HSVhsv(227, 80%, 73%)
CMYKcmyk(79.6%, 61.8%, 0%, 27.1%)
CIE-LABlab(34.93, 30.70, -63.83)
CIE-LCHlch(34.93, 70.83, 295.69°)
OKLaboklab(45.07% -0.0117 -0.1846)
OKLCHoklch(45.07% 0.185 266.4)
XYZxyz(11.9124, 8.4623, 47.4504)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2647BA #BA9926
analogous
#2691BA #2647BA #4F26BA
triadic
#2647BA #BA2647 #47BA26
tetradic
#2647BA #BA2691 #BA9926 #26BA4F
square
#2647BA #BA2691 #BA9926 #26BA4F
split-complementary
#2647BA #BA4F26 #91BA26
monochromatic
#112054 #1C3487 #2647BA #4465D9 #778FE3

Accessibility & contrast

On white

7.80
#2647BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2647BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2647BA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2647BA#FFFFFF#000000##FFFFFF
##2647BA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2647ba;
/* rgb */ color: rgb(38, 71, 186);
/* oklch */ color: oklch(45.1% 0.185 266.4);
Tailwind
colors: {
  custom: {
    50: '#7979d0',
    500: '#2647ba',
    950: '#000000',
  },
}
SCSS
$custom: #2647ba;
$custom-light: #7979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2647ba",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 226.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.18499,
    "h": 266.4
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#2647BA
secondary
#CBB771
accent
#C33FE9
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2647BA

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

Preview Lab → · Contrast checker → · Palette generator →

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