#2628B1#2628B1

#2628B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.207 H 271.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2628B1
RGBrgb(38, 40, 177)
HSLhsl(239, 65%, 42%)
HSVhsv(239, 79%, 69%)
CMYKcmyk(78.5%, 77.4%, 0%, 30.6%)
CIE-LABlab(27.03, 46.51, -71.49)
CIE-LCHlch(27.03, 85.29, 303.05°)
OKLaboklab(39.08% 0.0036 -0.207)
OKLCHoklch(39.08% 0.207 271)
XYZxyz(9.4912, 5.1029, 42.0712)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628B1 #B1AF26
analogous
#266DB1 #2628B1 #6A26B1
triadic
#2628B1 #B12628 #28B126
tetradic
#2628B1 #B1266D #B1AF26 #26B16A
square
#2628B1 #B1266D #B1AF26 #26B16A
split-complementary
#2628B1 #B16A26 #6DB126
monochromatic
#10114C #1B1D7F #2628B1 #3F41D6 #7173E0

Accessibility & contrast

On white

10.39
#2628B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2628B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628B1
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628B1#FFFFFF#000000##FFFFFF
##2628B11.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2628b1;
/* rgb */ color: rgb(38, 40, 177);
/* oklch */ color: oklch(39.1% 0.207 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a64ca',
    500: '#2628b1',
    950: '#000000',
  },
}
SCSS
$custom: #2628b1;
$custom-light: #7a64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2628b1",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 239.137,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39081,
    "c": 0.20703,
    "h": 271
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#2628B1
secondary
#C7C66B
accent
#E540E8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2628B1

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

Preview Lab → · Contrast checker → · Palette generator →

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