#2628AC#2628AC

#2628AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.201 H 271.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2628AC
RGBrgb(38, 40, 172)
HSLhsl(239, 64%, 41%)
HSVhsv(239, 78%, 67%)
CMYKcmyk(77.9%, 76.7%, 0%, 32.5%)
CIE-LABlab(26.47, 44.86, -69.41)
CIE-LCHlch(26.47, 82.65, 302.87°)
OKLaboklab(38.53% 0.0045 -0.201)
OKLCHoklch(38.53% 0.201 271.3)
XYZxyz(9.0020, 4.9072, 39.4945)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628AC #ACAA26
analogous
#266BAC #2628AC #6726AC
triadic
#2628AC #AC2628 #28AC26
tetradic
#2628AC #AC266B #ACAA26 #26AC67
square
#2628AC #AC266B #ACAA26 #26AC67
split-complementary
#2628AC #AC6726 #6BAC26
monochromatic
#101148 #1B1C7A #2628AC #3B3ED4 #6E6FDF

Accessibility & contrast

On white

10.60
#2628AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2628AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628AC
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628AC#FFFFFF#000000##FFFFFF
##2628AC1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2628ac;
/* rgb */ color: rgb(38, 40, 172);
/* oklch */ color: oklch(38.5% 0.201 271.3);
Tailwind
colors: {
  custom: {
    50: '#7864c6',
    500: '#2628ac',
    950: '#000000',
  },
}
SCSS
$custom: #2628ac;
$custom-light: #7864c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2628ac",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 239.104,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.20102,
    "h": 271.3
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#2628AC
secondary
#C5C468
accent
#E441E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2628AC

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

Preview Lab → · Contrast checker → · Palette generator →

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