#2641AE#2641AE

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

Color values

HEX#2641AE
RGBrgb(38, 65, 174)
HSLhsl(228, 64%, 42%)
HSVhsv(228, 78%, 68%)
CMYKcmyk(78.2%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.36, 30.12, -60.91)
CIE-LCHlch(32.36, 67.95, 296.31°)
OKLaboklab(42.85% -0.008 -0.1761)
OKLCHoklch(42.85% 0.176 267.4)
XYZxyz(10.3269, 7.2475, 40.8908)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641AE #AE9326
analogous
#2685AE #2641AE #4F26AE
triadic
#2641AE #AE2641 #41AE26
tetradic
#2641AE #AE2685 #AE9326 #26AE4F
square
#2641AE #AE2685 #AE9326 #26AE4F
split-complementary
#2641AE #AE4F26 #85AE26
monochromatic
#101B4A #1B2E7C #2641AE #3D5BD5 #6F85E0

Accessibility & contrast

On white

8.57
#2641AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2641AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641AE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641AE#FFFFFF#000000##FFFFFF
##2641AE1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2641ae;
/* rgb */ color: rgb(38, 65, 174);
/* oklch */ color: oklch(42.9% 0.176 267.4);
Tailwind
colors: {
  custom: {
    50: '#7775c7',
    500: '#2641ae',
    950: '#000000',
  },
}
SCSS
$custom: #2641ae;
$custom-light: #7775c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2641ae",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 228.088,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.17633,
    "h": 267.4
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2641AE

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

Preview Lab → · Contrast checker → · Palette generator →

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