#2628C5#2628C5

#2628C5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.230 H 269.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2628C5
RGBrgb(38, 40, 197)
HSLhsl(239, 68%, 46%)
HSVhsv(239, 81%, 77%)
CMYKcmyk(80.7%, 79.7%, 0%, 22.7%)
CIE-LABlab(29.31, 52.95, -79.55)
CIE-LCHlch(29.31, 95.56, 303.65°)
OKLaboklab(41.35% -0.0002 -0.2304)
OKLCHoklch(41.35% 0.23 269.9)
XYZxyz(11.6327, 5.9595, 53.3497)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628C5 #C5C326
analogous
#2677C5 #2628C5 #7326C5
triadic
#2628C5 #C52628 #28C526
tetradic
#2628C5 #C52677 #C5C326 #26C573
square
#2628C5 #C52677 #C5C326 #26C573
split-complementary
#2628C5 #C57326 #77C526
monochromatic
#12135E #1C1E92 #2628C5 #4C4EDC #7F80E6

Accessibility & contrast

On white

9.58
#2628C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2628C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628C5
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628C5#FFFFFF#000000##FFFFFF
##2628C51.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2628c5;
/* rgb */ color: rgb(38, 40, 197);
/* oklch */ color: oklch(41.3% 0.230 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f66d8',
    500: '#2628c5',
    950: '#000000',
  },
}
SCSS
$custom: #2628c5;
$custom-light: #7f66d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2628c5",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 239.245,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.23037,
    "h": 269.9
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#2628C5
secondary
#CFCE78
accent
#E83DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2628C5

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

Preview Lab → · Contrast checker → · Palette generator →

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