#2641BD#2641BD

#2641BD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.196 H 267.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2641BD
RGBrgb(38, 65, 189)
HSLhsl(229, 67%, 45%)
HSVhsv(229, 80%, 74%)
CMYKcmyk(79.9%, 65.6%, 0%, 25.9%)
CIE-LABlab(33.70, 35.71, -67.60)
CIE-LCHlch(33.70, 76.45, 297.84°)
OKLaboklab(44.25% -0.0085 -0.1957)
OKLCHoklch(44.25% 0.196 267.5)
XYZxyz(11.8717, 7.8654, 49.0267)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641BD #BDA226
analogous
#268CBD #2641BD #5726BD
triadic
#2641BD #BD2641 #41BD26
tetradic
#2641BD #BD268C #BDA226 #26BD57
square
#2641BD #BD268C #BDA226 #26BD57
split-complementary
#2641BD #BD5726 #8CBD26
monochromatic
#121E57 #1C2F8A #2641BD #4661DA #798CE4

Accessibility & contrast

On white

8.16
#2641BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2641BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641BD
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641BD#FFFFFF#000000##FFFFFF
##2641BD1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2641bd;
/* rgb */ color: rgb(38, 65, 189);
/* oklch */ color: oklch(44.2% 0.196 267.5);
Tailwind
colors: {
  custom: {
    50: '#7a75d2',
    500: '#2641bd',
    950: '#000000',
  },
}
SCSS
$custom: #2641bd;
$custom-light: #7a75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2641bd",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 229.272,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.19591,
    "h": 267.5
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#2641BD
secondary
#CCBC73
accent
#CB3EE9
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2641BD

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

Preview Lab → · Contrast checker → · Palette generator →

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