#2641AD#2641AD

#2641AD is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.175 H 267.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2641AD
RGBrgb(38, 65, 173)
HSLhsl(228, 64%, 41%)
HSVhsv(228, 78%, 68%)
CMYKcmyk(78%, 62.4%, 0%, 32.2%)
CIE-LABlab(32.28, 29.75, -60.45)
CIE-LCHlch(32.28, 67.38, 296.20°)
OKLaboklab(42.76% -0.008 -0.1748)
OKLCHoklch(42.76% 0.175 267.4)
XYZxyz(10.2298, 7.2086, 40.3793)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641AD #AD9226
analogous
#2685AD #2641AD #4F26AD
triadic
#2641AD #AD2641 #41AD26
tetradic
#2641AD #AD2685 #AD9226 #26AD4F
square
#2641AD #AD2685 #AD9226 #26AD4F
split-complementary
#2641AD #AD4F26 #85AD26
monochromatic
#101B49 #1B2E7B #2641AD #3C5AD4 #6E85DF

Accessibility & contrast

On white

8.60
#2641AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2641AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641AD
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641AD#FFFFFF#000000##FFFFFF
##2641AD1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2641ad;
/* rgb */ color: rgb(38, 65, 173);
/* oklch */ color: oklch(42.8% 0.175 267.4);
Tailwind
colors: {
  custom: {
    50: '#7675c6',
    500: '#2641ad',
    950: '#000000',
  },
}
SCSS
$custom: #2641ad;
$custom-light: #7675c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2641ad",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 228,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42762,
    "c": 0.17499,
    "h": 267.4
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#2641AD
secondary
#C6B369
accent
#C641E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2641AD

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

Preview Lab → · Contrast checker → · Palette generator →

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