#2641A4#2641A4

#2641A4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.163 H 267.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2641A4
RGBrgb(38, 65, 164)
HSLhsl(227, 62%, 40%)
HSVhsv(227, 77%, 64%)
CMYKcmyk(76.8%, 60.4%, 0%, 35.7%)
CIE-LABlab(31.51, 26.33, -56.31)
CIE-LCHlch(31.51, 62.16, 295.06°)
OKLaboklab(41.96% -0.008 -0.1626)
OKLCHoklch(41.96% 0.163 267.2)
XYZxyz(9.3881, 6.8720, 35.9464)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641A4 #A48926
analogous
#2680A4 #2641A4 #4A26A4
triadic
#2641A4 #A42641 #41A426
tetradic
#2641A4 #A42680 #A48926 #26A44A
square
#2641A4 #A42680 #A48926 #26A44A
split-complementary
#2641A4 #A44A26 #80A426
monochromatic
#0F1A41 #1A2D72 #2641A4 #3758D1 #6881DC

Accessibility & contrast

On white

8.84
#2641A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2641A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641A4
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641A4#FFFFFF#000000##FFFFFF
##2641A41.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2641a4;
/* rgb */ color: rgb(38, 65, 164);
/* oklch */ color: oklch(42.0% 0.163 267.2);
Tailwind
colors: {
  custom: {
    50: '#7475c0',
    500: '#2641a4',
    950: '#000000',
  },
}
SCSS
$custom: #2641a4;
$custom-light: #7475c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2641a4",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 227.143,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41958,
    "c": 0.16285,
    "h": 267.2
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#2641A4
secondary
#C2AE64
accent
#C242E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2641A4

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

Preview Lab → · Contrast checker → · Palette generator →

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