#2628A3#2628A3

#2628A3 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.190 H 271.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2628A3
RGBrgb(38, 40, 163)
HSLhsl(239, 62%, 39%)
HSVhsv(239, 77%, 64%)
CMYKcmyk(76.7%, 75.5%, 0%, 36.1%)
CIE-LABlab(25.48, 41.83, -65.61)
CIE-LCHlch(25.48, 77.81, 302.52°)
OKLaboklab(37.54% 0.0062 -0.1899)
OKLCHoklch(37.54% 0.19 271.9)
XYZxyz(8.1667, 4.5731, 35.0955)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628A3 #A3A126
analogous
#2667A3 #2628A3 #6326A3
triadic
#2628A3 #A32628 #28A326
tetradic
#2628A3 #A32667 #A3A126 #26A363
square
#2628A3 #A32667 #A3A126 #26A363
split-complementary
#2628A3 #A36326 #67A326
monochromatic
#0F1040 #1A1C71 #2628A3 #3639D0 #686ADC

Accessibility & contrast

On white

10.97
#2628A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2628A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2628A3#FFFFFF#000000##FFFFFF
##2628A31.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2628a3;
/* rgb */ color: rgb(38, 40, 163);
/* oklch */ color: oklch(37.5% 0.190 271.9);
Tailwind
colors: {
  custom: {
    50: '#7664c0',
    500: '#2628a3',
    950: '#000000',
  },
}
SCSS
$custom: #2628a3;
$custom-light: #7664c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2628a3",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 239.04,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.19002,
    "h": 271.9
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#2628A3
secondary
#C2C063
accent
#E343E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2628A3

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

Preview Lab → · Contrast checker → · Palette generator →

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