#2628DD#2628DD

#2628DD is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 44.1% C 0.257 H 268.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2628DD
RGBrgb(38, 40, 221)
HSLhsl(239, 73%, 51%)
HSVhsv(239, 83%, 87%)
CMYKcmyk(82.8%, 81.9%, 0%, 13.3%)
CIE-LABlab(32.14, 60.30, -88.79)
CIE-LCHlch(32.14, 107.33, 304.18°)
OKLaboklab(44.13% -0.0049 -0.2571)
OKLCHoklch(44.13% 0.257 268.9)
XYZxyz(14.6048, 7.1483, 69.0026)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628DD #DDDB26
analogous
#2684DD #2628DD #7F26DD
triadic
#2628DD #DD2628 #28DD26
tetradic
#2628DD #DD2684 #DDDB26 #26DD7F
square
#2628DD #DD2684 #DDDB26 #26DD7F
split-complementary
#2628DD #DD7F26 #84DD26
monochromatic
#131476 #1B1CAB #2628DD #5B5CE5 #9091EE

Accessibility & contrast

On white

8.64
#2628DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2628DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628DD
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628DD#FFFFFF#000000##FFFFFF
##2628DD1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055E2
Deuteranopia (green-blind)
#0042DA
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2628dd;
/* rgb */ color: rgb(38, 40, 221);
/* oklch */ color: oklch(44.1% 0.257 268.9);
Tailwind
colors: {
  custom: {
    50: '#8567e9',
    500: '#2628dd',
    950: '#000000',
  },
}
SCSS
$custom: #2628dd;
$custom-light: #8567e9;
$custom-dark: #000000;
JSON
{
  "hex": "#2628dd",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 221
  },
  "hsl": {
    "h": 239.344,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.44128,
    "c": 0.25713,
    "h": 268.9
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#2628DD
secondary
#D8D787
accent
#EE38F0
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2628DD

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

Preview Lab → · Contrast checker → · Palette generator →

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