#2641A2#2641A2

#2641A2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.160 H 267.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2641A2
RGBrgb(38, 65, 162)
HSLhsl(227, 62%, 39%)
HSVhsv(227, 77%, 64%)
CMYKcmyk(76.5%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.35, 25.56, -55.37)
CIE-LCHlch(31.35, 60.99, 294.78°)
OKLaboklab(41.78% -0.008 -0.1599)
OKLCHoklch(41.78% 0.16 267.1)
XYZxyz(9.2089, 6.8003, 35.0027)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641A2 #A28726
analogous
#267FA2 #2641A2 #4926A2
triadic
#2641A2 #A22641 #41A226
tetradic
#2641A2 #A2267F #A28726 #26A249
square
#2641A2 #A2267F #A28726 #26A249
split-complementary
#2641A2 #A24926 #7FA226
monochromatic
#0F193F #1A2D70 #2641A2 #3557D0 #6780DB

Accessibility & contrast

On white

8.90
#2641A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2641A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641A2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641A2#FFFFFF#000000##FFFFFF
##2641A21.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2641a2;
/* rgb */ color: rgb(38, 65, 162);
/* oklch */ color: oklch(41.8% 0.160 267.1);
Tailwind
colors: {
  custom: {
    50: '#7475be',
    500: '#2641a2',
    950: '#000000',
  },
}
SCSS
$custom: #2641a2;
$custom-light: #7475be;
$custom-dark: #000000;
JSON
{
  "hex": "#2641a2",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 226.935,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41783,
    "c": 0.16011,
    "h": 267.1
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#2641A2
secondary
#C1AD63
accent
#C243E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2641A2

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

Preview Lab → · Contrast checker → · Palette generator →

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