#2628C1#2628C1

#2628C1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.226 H 270.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2628C1
RGBrgb(38, 40, 193)
HSLhsl(239, 67%, 45%)
HSVhsv(239, 80%, 76%)
CMYKcmyk(80.3%, 79.3%, 0%, 24.3%)
CIE-LABlab(28.85, 51.68, -77.97)
CIE-LCHlch(28.85, 93.54, 303.54°)
OKLaboklab(40.89% 0.0005 -0.2258)
OKLCHoklch(40.89% 0.226 270.1)
XYZxyz(11.1805, 5.7786, 50.9679)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628C1 #C1BF26
analogous
#2675C1 #2628C1 #7226C1
triadic
#2628C1 #C12628 #28C126
tetradic
#2628C1 #C12675 #C1BF26 #26C172
square
#2628C1 #C12675 #C1BF26 #26C172
split-complementary
#2628C1 #C17226 #75C126
monochromatic
#12135B #1C1D8E #2628C1 #494BDB #7C7EE5

Accessibility & contrast

On white

9.74
#2628C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2628C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628C1
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628C1#FFFFFF#000000##FFFFFF
##2628C11.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2628c1;
/* rgb */ color: rgb(38, 40, 193);
/* oklch */ color: oklch(40.9% 0.226 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e65d5',
    500: '#2628c1',
    950: '#000000',
  },
}
SCSS
$custom: #2628c1;
$custom-light: #7e65d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2628c1",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 193
  },
  "hsl": {
    "h": 239.226,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.40889,
    "c": 0.22578,
    "h": 270.1
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#2628C1
secondary
#CDCC75
accent
#E83EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2628C1

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

Preview Lab → · Contrast checker → · Palette generator →

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