#2628A6#2628A6

#2628A6 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.194 H 271.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2628A6
RGBrgb(38, 40, 166)
HSLhsl(239, 63%, 40%)
HSVhsv(239, 77%, 65%)
CMYKcmyk(77.1%, 75.9%, 0%, 34.9%)
CIE-LABlab(25.81, 42.85, -66.89)
CIE-LCHlch(25.81, 79.43, 302.64°)
OKLaboklab(37.86% 0.0056 -0.1936)
OKLCHoklch(37.86% 0.194 271.7)
XYZxyz(8.4387, 4.6819, 36.5280)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628A6 #A6A426
analogous
#2668A6 #2628A6 #6426A6
triadic
#2628A6 #A62628 #28A626
tetradic
#2628A6 #A62668 #A6A426 #26A664
square
#2628A6 #A62668 #A6A426 #26A664
split-complementary
#2628A6 #A66426 #68A626
monochromatic
#0F1042 #1B1C74 #2628A6 #383AD1 #6A6BDD

Accessibility & contrast

On white

10.84
#2628A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2628A6#FFFFFF#000000##FFFFFF
##2628A61.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2628a6;
/* rgb */ color: rgb(38, 40, 166);
/* oklch */ color: oklch(37.9% 0.194 271.7);
Tailwind
colors: {
  custom: {
    50: '#7764c2',
    500: '#2628a6',
    950: '#000000',
  },
}
SCSS
$custom: #2628a6;
$custom-light: #7764c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2628a6",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 239.063,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.19371,
    "h": 271.7
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2628A6

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

Preview Lab → · Contrast checker → · Palette generator →

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