#2628AF#2628AF

#2628AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.205 H 271.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2628AF
RGBrgb(38, 40, 175)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(78.3%, 77.1%, 0%, 31.4%)
CIE-LABlab(26.80, 45.85, -70.66)
CIE-LCHlch(26.80, 84.23, 302.98°)
OKLaboklab(38.86% 0.004 -0.2046)
OKLCHoklch(38.86% 0.205 271.1)
XYZxyz(9.2934, 5.0238, 41.0290)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2628AF #AFAD26
analogous
#266DAF #2628AF #6926AF
triadic
#2628AF #AF2628 #28AF26
tetradic
#2628AF #AF266D #AFAD26 #26AF69
square
#2628AF #AF266D #AFAD26 #26AF69
split-complementary
#2628AF #AF6926 #6DAF26
monochromatic
#10114A #1B1D7D #2628AF #3D3FD5 #7071E0

Accessibility & contrast

On white

10.47
#2628AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2628AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2628AF
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2628AF#FFFFFF#000000##FFFFFF
##2628AF1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2628af;
/* rgb */ color: rgb(38, 40, 175);
/* oklch */ color: oklch(38.9% 0.205 271.1);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2628af',
    950: '#000000',
  },
}
SCSS
$custom: #2628af;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2628af",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 239.124,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.20464,
    "h": 271.1
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#2628AF
secondary
#C7C56A
accent
#E540E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2628AF

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

Preview Lab → · Contrast checker → · Palette generator →

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