#2628A4#2628A4

#2628A4 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.191 H 271.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2628A4
RGBrgb(38, 40, 164)
HSLhsl(239, 62%, 40%)
HSVhsv(239, 77%, 64%)
CMYKcmyk(76.8%, 75.6%, 0%, 35.7%)
CIE-LABlab(25.59, 42.17, -66.03)
CIE-LCHlch(25.59, 78.35, 302.56°)
OKLaboklab(37.65% 0.006 -0.1912)
OKLCHoklch(37.65% 0.191 271.8)
XYZxyz(8.2567, 4.6091, 35.5693)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628A4 #A4A226
analogous
#2667A4 #2628A4 #6326A4
triadic
#2628A4 #A42628 #28A426
tetradic
#2628A4 #A42667 #A4A226 #26A463
square
#2628A4 #A42667 #A4A226 #26A463
split-complementary
#2628A4 #A46326 #67A426
monochromatic
#0F1041 #1A1C72 #2628A4 #3739D1 #686ADC

Accessibility & contrast

On white

10.93
#2628A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2628A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628A4
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628A4#FFFFFF#000000##FFFFFF
##2628A41.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2628a4;
/* rgb */ color: rgb(38, 40, 164);
/* oklch */ color: oklch(37.6% 0.191 271.8);
Tailwind
colors: {
  custom: {
    50: '#7664c0',
    500: '#2628a4',
    950: '#000000',
  },
}
SCSS
$custom: #2628a4;
$custom-light: #7664c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2628a4",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 239.048,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.19125,
    "h": 271.8
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#2628A4
secondary
#C2C164
accent
#E342E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2628A4

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

Preview Lab → · Contrast checker → · Palette generator →

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