#2626A6#2626A6

#2626A6 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.196 H 271.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2626A6
RGBrgb(38, 38, 166)
HSLhsl(240, 63%, 40%)
HSVhsv(240, 77%, 65%)
CMYKcmyk(77.1%, 77.1%, 0%, 34.9%)
CIE-LABlab(25.41, 43.97, -67.54)
CIE-LCHlch(25.41, 80.59, 303.06°)
OKLaboklab(37.59% 0.0064 -0.1955)
OKLCHoklch(37.59% 0.196 271.9)
XYZxyz(8.3731, 4.5506, 36.5061)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2626A6 #A6A626
analogous
#2666A6 #2626A6 #6626A6
triadic
#2626A6 #A62626 #26A626
tetradic
#2626A6 #A62666 #A6A626 #26A666
square
#2626A6 #A62666 #A6A626 #26A666
split-complementary
#2626A6 #A66626 #66A626
monochromatic
#0F0F42 #1B1B74 #2626A6 #3838D1 #6A6ADD

Accessibility & contrast

On white

10.99
#2626A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2626A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2626A6
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2626A6#FFFFFF#000000##FFFFFF
##2626A61.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2626a6;
/* rgb */ color: rgb(38, 38, 166);
/* oklch */ color: oklch(37.6% 0.196 271.9);
Tailwind
colors: {
  custom: {
    50: '#7762c2',
    500: '#2626a6',
    950: '#000000',
  },
}
SCSS
$custom: #2626a6;
$custom-light: #7762c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2626a6",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.37585,
    "c": 0.19562,
    "h": 271.9
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2626A6
secondary
#C3C365
accent
#E642E6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2626A6

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

Preview Lab → · Contrast checker → · Palette generator →

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