#2641B1#2641B1

#2641B1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.180 H 267.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2641B1
RGBrgb(38, 65, 177)
HSLhsl(228, 65%, 42%)
HSVhsv(228, 79%, 69%)
CMYKcmyk(78.5%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.63, 31.25, -62.27)
CIE-LCHlch(32.63, 69.67, 296.65°)
OKLaboklab(43.13% -0.008 -0.1801)
OKLCHoklch(43.13% 0.18 267.4)
XYZxyz(10.6227, 7.3658, 42.4483)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641B1 #B19626
analogous
#2687B1 #2641B1 #5026B1
triadic
#2641B1 #B12641 #41B126
tetradic
#2641B1 #B12687 #B19626 #26B150
square
#2641B1 #B12687 #B19626 #26B150
split-complementary
#2641B1 #B15026 #87B126
monochromatic
#101C4C #1B2E7F #2641B1 #3F5CD6 #7187E0

Accessibility & contrast

On white

8.49
#2641B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2641B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641B1
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641B1#FFFFFF#000000##FFFFFF
##2641B11.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2641b1;
/* rgb */ color: rgb(38, 65, 177);
/* oklch */ color: oklch(43.1% 0.180 267.4);
Tailwind
colors: {
  custom: {
    50: '#7775c9',
    500: '#2641b1',
    950: '#000000',
  },
}
SCSS
$custom: #2641b1;
$custom-light: #7775c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2641b1",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 228.345,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.1803,
    "h": 267.4
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#2641B1
secondary
#C7B66B
accent
#C740E8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2641B1

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

Preview Lab → · Contrast checker → · Palette generator →

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