#2628AA#2628AA

#2628AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.199 H 271.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2628AA
RGBrgb(38, 40, 170)
HSLhsl(239, 63%, 41%)
HSVhsv(239, 78%, 67%)
CMYKcmyk(77.6%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.25, 44.19, -68.57)
CIE-LCHlch(26.25, 81.58, 302.80°)
OKLaboklab(38.3% 0.0049 -0.1985)
OKLCHoklch(38.3% 0.199 271.4)
XYZxyz(8.8114, 4.8310, 38.4905)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628AA #AAA826
analogous
#266AAA #2628AA #6626AA
triadic
#2628AA #AA2628 #28AA26
tetradic
#2628AA #AA266A #AAA826 #26AA66
square
#2628AA #AA266A #AAA826 #26AA66
split-complementary
#2628AA #AA6626 #6AAA26
monochromatic
#101046 #1B1C78 #2628AA #3A3DD3 #6C6EDE

Accessibility & contrast

On white

10.68
#2628AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2628AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2628AA#FFFFFF#000000##FFFFFF
##2628AA1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2628aa;
/* rgb */ color: rgb(38, 40, 170);
/* oklch */ color: oklch(38.3% 0.199 271.4);
Tailwind
colors: {
  custom: {
    50: '#7864c5',
    500: '#2628aa',
    950: '#000000',
  },
}
SCSS
$custom: #2628aa;
$custom-light: #7864c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2628aa",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 239.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38304,
    "c": 0.1986,
    "h": 271.4
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#2628AA
secondary
#C5C367
accent
#E441E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2628AA

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

Preview Lab → · Contrast checker → · Palette generator →

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