#2628B0#2628B0

#2628B0 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.206 H 271.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2628B0
RGBrgb(38, 40, 176)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(78.4%, 77.3%, 0%, 31%)
CIE-LABlab(26.91, 46.18, -71.07)
CIE-LCHlch(26.91, 84.76, 303.02°)
OKLaboklab(38.97% 0.0038 -0.2058)
OKLCHoklch(38.97% 0.206 271.1)
XYZxyz(9.3919, 5.0632, 41.5482)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628B0 #B0AE26
analogous
#266DB0 #2628B0 #6926B0
triadic
#2628B0 #B02628 #28B026
tetradic
#2628B0 #B0266D #B0AE26 #26B069
square
#2628B0 #B0266D #B0AE26 #26B069
split-complementary
#2628B0 #B06926 #6DB026
monochromatic
#10114B #1B1D7E #2628B0 #3E40D5 #7072E0

Accessibility & contrast

On white

10.43
#2628B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2628B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628B0
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628B0#FFFFFF#000000##FFFFFF
##2628B01.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2628b0;
/* rgb */ color: rgb(38, 40, 176);
/* oklch */ color: oklch(39.0% 0.206 271.1);
Tailwind
colors: {
  custom: {
    50: '#7964c9',
    500: '#2628b0',
    950: '#000000',
  },
}
SCSS
$custom: #2628b0;
$custom-light: #7964c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2628b0",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 239.13,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.20583,
    "h": 271.1
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#2628B0
secondary
#C7C66B
accent
#E540E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2628B0

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

Preview Lab → · Contrast checker → · Palette generator →

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