#2641AF#2641AF

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

Color values

HEX#2641AF
RGBrgb(38, 65, 175)
HSLhsl(228, 64%, 42%)
HSVhsv(228, 78%, 69%)
CMYKcmyk(78.3%, 62.9%, 0%, 31.4%)
CIE-LABlab(32.45, 30.50, -61.36)
CIE-LCHlch(32.45, 68.53, 296.43°)
OKLaboklab(42.94% -0.008 -0.1775)
OKLCHoklch(42.94% 0.178 267.4)
XYZxyz(10.4248, 7.2866, 41.4062)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2641AF #AF9426
analogous
#2686AF #2641AF #5026AF
triadic
#2641AF #AF2641 #41AF26
tetradic
#2641AF #AF2686 #AF9426 #26AF50
square
#2641AF #AF2686 #AF9426 #26AF50
split-complementary
#2641AF #AF5026 #86AF26
monochromatic
#101C4A #1B2E7D #2641AF #3D5BD5 #7086E0

Accessibility & contrast

On white

8.54
#2641AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2641AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2641AF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2641AF#FFFFFF#000000##FFFFFF
##2641AF1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2641af;
/* rgb */ color: rgb(38, 65, 175);
/* oklch */ color: oklch(42.9% 0.178 267.4);
Tailwind
colors: {
  custom: {
    50: '#7775c8',
    500: '#2641af',
    950: '#000000',
  },
}
SCSS
$custom: #2641af;
$custom-light: #7775c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2641af",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 228.175,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.17765,
    "h": 267.4
  },
  "luminance": 0.07288
}

Semantic roles & 50–950 ramp

primary
#2641AF
secondary
#C7B46A
accent
#C640E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2641AF

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

Preview Lab → · Contrast checker → · Palette generator →

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