#2626B1#2626B1

#2626B1 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.209 H 271.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2626B1
RGBrgb(38, 38, 177)
HSLhsl(240, 65%, 42%)
HSVhsv(240, 79%, 69%)
CMYKcmyk(78.5%, 78.5%, 0%, 30.6%)
CIE-LABlab(26.65, 47.58, -72.10)
CIE-LCHlch(26.65, 86.39, 303.42°)
OKLaboklab(38.82% 0.0043 -0.2088)
OKLCHoklch(38.82% 0.209 271.2)
XYZxyz(9.4256, 4.9716, 42.0493)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2626B1 #B1B126
analogous
#266CB1 #2626B1 #6C26B1
triadic
#2626B1 #B12626 #26B126
tetradic
#2626B1 #B1266C #B1B126 #26B16C
square
#2626B1 #B1266C #B1B126 #26B16C
split-complementary
#2626B1 #B16C26 #6CB126
monochromatic
#10104C #1B1B7F #2626B1 #3F3FD6 #7171E0

Accessibility & contrast

On white

10.53
#2626B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2626B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2626B1
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2626B1#FFFFFF#000000##FFFFFF
##2626B11.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2626b1;
/* rgb */ color: rgb(38, 38, 177);
/* oklch */ color: oklch(38.8% 0.209 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a63ca',
    500: '#2626b1',
    950: '#000000',
  },
}
SCSS
$custom: #2626b1;
$custom-light: #7a63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2626b1",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.2088,
    "h": 271.2
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#2626B1
secondary
#C7C76B
accent
#E840E8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2626B1

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

Preview Lab → · Contrast checker → · Palette generator →

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