#2628A9#2628A9

#2628A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.197 H 271.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2628A9
RGBrgb(38, 40, 169)
HSLhsl(239, 63%, 41%)
HSVhsv(239, 78%, 66%)
CMYKcmyk(77.5%, 76.3%, 0%, 33.7%)
CIE-LABlab(26.14, 43.86, -68.15)
CIE-LCHlch(26.14, 81.04, 302.76°)
OKLaboklab(38.19% 0.0051 -0.1973)
OKLCHoklch(38.19% 0.197 271.5)
XYZxyz(8.7171, 4.7933, 37.9942)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628A9 #A9A726
analogous
#2669A9 #2628A9 #6526A9
triadic
#2628A9 #A92628 #28A926
tetradic
#2628A9 #A92669 #A9A726 #26A965
square
#2628A9 #A92669 #A9A726 #26A965
split-complementary
#2628A9 #A96526 #69A926
monochromatic
#101045 #1B1C77 #2628A9 #3A3CD3 #6C6DDE

Accessibility & contrast

On white

10.72
#2628A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2628A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628A9
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628A9#FFFFFF#000000##FFFFFF
##2628A91.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2628a9;
/* rgb */ color: rgb(38, 40, 169);
/* oklch */ color: oklch(38.2% 0.197 271.5);
Tailwind
colors: {
  custom: {
    50: '#7864c4',
    500: '#2628a9',
    950: '#000000',
  },
}
SCSS
$custom: #2628a9;
$custom-light: #7864c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2628a9",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 239.084,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38193,
    "c": 0.19739,
    "h": 271.5
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#2628A9
secondary
#C4C367
accent
#E441E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2628A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2628A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva