#2641A7#2641A7

#2641A7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.167 H 267.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2641A7
RGBrgb(38, 65, 167)
HSLhsl(227, 63%, 40%)
HSVhsv(227, 77%, 65%)
CMYKcmyk(77.2%, 61.1%, 0%, 34.5%)
CIE-LABlab(31.77, 27.47, -57.70)
CIE-LCHlch(31.77, 63.91, 295.46°)
OKLaboklab(42.22% -0.008 -0.1667)
OKLCHoklch(42.22% 0.167 267.3)
XYZxyz(9.6622, 6.9816, 37.3901)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641A7 #A78C26
analogous
#2681A7 #2641A7 #4C26A7
triadic
#2641A7 #A72641 #41A726
tetradic
#2641A7 #A72681 #A78C26 #26A74C
square
#2641A7 #A72681 #A78C26 #26A74C
split-complementary
#2641A7 #A74C26 #81A726
monochromatic
#0F1A43 #1B2E75 #2641A7 #3859D2 #6A82DD

Accessibility & contrast

On white

8.76
#2641A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2641A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641A7
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641A7#FFFFFF#000000##FFFFFF
##2641A71.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2641a7;
/* rgb */ color: rgb(38, 65, 167);
/* oklch */ color: oklch(42.2% 0.167 267.3);
Tailwind
colors: {
  custom: {
    50: '#7575c2',
    500: '#2641a7',
    950: '#000000',
  },
}
SCSS
$custom: #2641a7;
$custom-light: #7575c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2641a7",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 227.442,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.16693,
    "h": 267.3
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#2641A7
secondary
#C3B065
accent
#C442E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2641A7

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

Preview Lab → · Contrast checker → · Palette generator →

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