#2628A7#2628A7

#2628A7 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.195 H 271.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2628A7
RGBrgb(38, 40, 167)
HSLhsl(239, 63%, 40%)
HSVhsv(239, 77%, 65%)
CMYKcmyk(77.2%, 76%, 0%, 34.5%)
CIE-LABlab(25.92, 43.19, -67.31)
CIE-LCHlch(25.92, 79.97, 302.68°)
OKLaboklab(37.97% 0.0055 -0.1949)
OKLCHoklch(37.97% 0.195 271.6)
XYZxyz(8.5308, 4.7187, 37.0129)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628A7 #A7A526
analogous
#2668A7 #2628A7 #6526A7
triadic
#2628A7 #A72628 #28A726
tetradic
#2628A7 #A72668 #A7A526 #26A765
square
#2628A7 #A72668 #A7A526 #26A765
split-complementary
#2628A7 #A76526 #68A726
monochromatic
#0F1043 #1B1C75 #2628A7 #383BD2 #6A6CDD

Accessibility & contrast

On white

10.80
#2628A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2628A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2628A7#FFFFFF#000000##FFFFFF
##2628A71.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2628a7;
/* rgb */ color: rgb(38, 40, 167);
/* oklch */ color: oklch(38.0% 0.195 271.6);
Tailwind
colors: {
  custom: {
    50: '#7764c2',
    500: '#2628a7',
    950: '#000000',
  },
}
SCSS
$custom: #2628a7;
$custom-light: #7764c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2628a7",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 239.07,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37973,
    "c": 0.19494,
    "h": 271.6
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#2628A7
secondary
#C3C265
accent
#E342E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2628A7

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

Preview Lab → · Contrast checker → · Palette generator →

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