#2628C7#2628C7

#2628C7 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.233 H 269.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2628C7
RGBrgb(38, 40, 199)
HSLhsl(239, 68%, 46%)
HSVhsv(239, 81%, 78%)
CMYKcmyk(80.9%, 79.9%, 0%, 22%)
CIE-LABlab(29.54, 53.57, -80.34)
CIE-LCHlch(29.54, 96.56, 303.70°)
OKLaboklab(41.58% -0.0006 -0.2326)
OKLCHoklch(41.58% 0.233 269.8)
XYZxyz(11.8634, 6.0518, 54.5646)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628C7 #C7C526
analogous
#2679C7 #2628C7 #7526C7
triadic
#2628C7 #C72628 #28C726
tetradic
#2628C7 #C72679 #C7C526 #26C775
square
#2628C7 #C72679 #C7C526 #26C775
split-complementary
#2628C7 #C77526 #79C726
monochromatic
#121360 #1C1E94 #2628C7 #4D4FDD #8182E7

Accessibility & contrast

On white

9.50
#2628C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2628C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628C7
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628C7#FFFFFF#000000##FFFFFF
##2628C71.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECB
Deuteranopia (green-blind)
#003DC4
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2628c7;
/* rgb */ color: rgb(38, 40, 199);
/* oklch */ color: oklch(41.6% 0.233 269.8);
Tailwind
colors: {
  custom: {
    50: '#7f66da',
    500: '#2628c7',
    950: '#000000',
  },
}
SCSS
$custom: #2628c7;
$custom-light: #7f66da;
$custom-dark: #000000;
JSON
{
  "hex": "#2628c7",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 239.255,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.23264,
    "h": 269.8
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#2628C7
secondary
#CFCE79
accent
#E93DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2628C7

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

Preview Lab → · Contrast checker → · Palette generator →

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