#2628AD#2628AD

#2628AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.202 H 271.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2628AD
RGBrgb(38, 40, 173)
HSLhsl(239, 64%, 41%)
HSVhsv(239, 78%, 68%)
CMYKcmyk(78%, 76.9%, 0%, 32.2%)
CIE-LABlab(26.58, 45.19, -69.83)
CIE-LCHlch(26.58, 83.18, 302.91°)
OKLaboklab(38.64% 0.0044 -0.2022)
OKLCHoklch(38.64% 0.202 271.2)
XYZxyz(9.0984, 4.9458, 40.0022)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628AD #ADAB26
analogous
#266CAD #2628AD #6826AD
triadic
#2628AD #AD2628 #28AD26
tetradic
#2628AD #AD266C #ADAB26 #26AD68
square
#2628AD #AD266C #ADAB26 #26AD68
split-complementary
#2628AD #AD6826 #6CAD26
monochromatic
#101149 #1B1C7B #2628AD #3C3ED4 #6E70DF

Accessibility & contrast

On white

10.56
#2628AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2628AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628AD
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628AD#FFFFFF#000000##FFFFFF
##2628AD1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2628ad;
/* rgb */ color: rgb(38, 40, 173);
/* oklch */ color: oklch(38.6% 0.202 271.2);
Tailwind
colors: {
  custom: {
    50: '#7964c7',
    500: '#2628ad',
    950: '#000000',
  },
}
SCSS
$custom: #2628ad;
$custom-light: #7964c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2628ad",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 239.111,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.20223,
    "h": 271.2
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#2628AD
secondary
#C6C469
accent
#E541E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2628AD

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

Preview Lab → · Contrast checker → · Palette generator →

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