#2628AE#2628AE

#2628AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.7% C 0.203 H 271.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2628AE
RGBrgb(38, 40, 174)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 68%)
CMYKcmyk(78.2%, 77%, 0%, 31.8%)
CIE-LABlab(26.69, 45.52, -70.25)
CIE-LCHlch(26.69, 83.71, 302.95°)
OKLaboklab(38.75% 0.0042 -0.2034)
OKLCHoklch(38.75% 0.203 271.2)
XYZxyz(9.1955, 4.9846, 40.5137)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628AE #AEAC26
analogous
#266CAE #2628AE #6826AE
triadic
#2628AE #AE2628 #28AE26
tetradic
#2628AE #AE266C #AEAC26 #26AE68
square
#2628AE #AE266C #AEAC26 #26AE68
split-complementary
#2628AE #AE6826 #6CAE26
monochromatic
#10114A #1B1C7C #2628AE #3D3FD5 #6F71E0

Accessibility & contrast

On white

10.51
#2628AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2628AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2628AE#FFFFFF#000000##FFFFFF
##2628AE1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2628ae;
/* rgb */ color: rgb(38, 40, 174);
/* oklch */ color: oklch(38.7% 0.203 271.2);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2628ae',
    950: '#000000',
  },
}
SCSS
$custom: #2628ae;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2628ae",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 239.118,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.20343,
    "h": 271.2
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2628AE

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

Preview Lab → · Contrast checker → · Palette generator →

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