#2641AB#2641AB

#2641AB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.172 H 267.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2641AB
RGBrgb(38, 65, 171)
HSLhsl(228, 64%, 41%)
HSVhsv(228, 78%, 67%)
CMYKcmyk(77.8%, 62%, 0%, 32.9%)
CIE-LABlab(32.11, 28.99, -59.54)
CIE-LCHlch(32.11, 66.22, 295.96°)
OKLaboklab(42.58% -0.008 -0.1721)
OKLCHoklch(42.58% 0.172 267.3)
XYZxyz(10.0377, 7.1318, 39.3677)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641AB #AB9026
analogous
#2683AB #2641AB #4E26AB
triadic
#2641AB #AB2641 #41AB26
tetradic
#2641AB #AB2683 #AB9026 #26AB4E
square
#2641AB #AB2683 #AB9026 #26AB4E
split-complementary
#2641AB #AB4E26 #83AB26
monochromatic
#101B47 #1B2E79 #2641AB #3B5AD3 #6D84DF

Accessibility & contrast

On white

8.65
#2641AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2641AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641AB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641AB#FFFFFF#000000##FFFFFF
##2641AB1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2641ab;
/* rgb */ color: rgb(38, 65, 171);
/* oklch */ color: oklch(42.6% 0.172 267.3);
Tailwind
colors: {
  custom: {
    50: '#7675c5',
    500: '#2641ab',
    950: '#000000',
  },
}
SCSS
$custom: #2641ab;
$custom-light: #7675c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2641ab",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 227.82,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.17231,
    "h": 267.3
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#2641AB
secondary
#C5B268
accent
#C541E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2641AB

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

Preview Lab → · Contrast checker → · Palette generator →

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