#2628A5#2628A5

#2628A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.192 H 271.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2628A5
RGBrgb(38, 40, 165)
HSLhsl(239, 63%, 40%)
HSVhsv(239, 77%, 65%)
CMYKcmyk(77%, 75.8%, 0%, 35.3%)
CIE-LABlab(25.70, 42.51, -66.46)
CIE-LCHlch(25.70, 78.89, 302.60°)
OKLaboklab(37.75% 0.0058 -0.1924)
OKLCHoklch(37.75% 0.192 271.7)
XYZxyz(8.3474, 4.6454, 36.0467)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628A5 #A5A326
analogous
#2668A5 #2628A5 #6326A5
triadic
#2628A5 #A52628 #28A526
tetradic
#2628A5 #A52668 #A5A326 #26A563
square
#2628A5 #A52668 #A5A326 #26A563
split-complementary
#2628A5 #A56326 #68A526
monochromatic
#0F1042 #1B1C73 #2628A5 #373AD1 #696BDC

Accessibility & contrast

On white

10.89
#2628A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2628A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2628A5#FFFFFF#000000##FFFFFF
##2628A51.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2628a5;
/* rgb */ color: rgb(38, 40, 165);
/* oklch */ color: oklch(37.8% 0.192 271.7);
Tailwind
colors: {
  custom: {
    50: '#7764c1',
    500: '#2628a5',
    950: '#000000',
  },
}
SCSS
$custom: #2628a5;
$custom-light: #7764c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2628a5",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 239.055,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.19249,
    "h": 271.7
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#2628A5
secondary
#C3C164
accent
#E342E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2628A5

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

Preview Lab → · Contrast checker → · Palette generator →

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