#2626BD#2626BD

#2626BD is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.223 H 270.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2626BD
RGBrgb(38, 38, 189)
HSLhsl(240, 67%, 45%)
HSVhsv(240, 80%, 74%)
CMYKcmyk(79.9%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.04, 51.42, -76.95)
CIE-LCHlch(28.04, 92.55, 303.75°)
OKLaboklab(40.19% 0.0018 -0.2228)
OKLCHoklch(40.19% 0.223 270.5)
XYZxyz(10.6746, 5.4712, 48.6277)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2626BD #BDBD26
analogous
#2672BD #2626BD #7226BD
triadic
#2626BD #BD2626 #26BD26
tetradic
#2626BD #BD2672 #BDBD26 #26BD72
square
#2626BD #BD2672 #BDBD26 #26BD72
split-complementary
#2626BD #BD7226 #72BD26
monochromatic
#121257 #1C1C8A #2626BD #4646DA #7979E4

Accessibility & contrast

On white

10.03
#2626BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2626BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2626BD
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2626BD#FFFFFF#000000##FFFFFF
##2626BD1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2626bd;
/* rgb */ color: rgb(38, 38, 189);
/* oklch */ color: oklch(40.2% 0.223 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d64d2',
    500: '#2626bd',
    950: '#000000',
  },
}
SCSS
$custom: #2626bd;
$custom-light: #7d64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2626bd",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.22281,
    "h": 270.5
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#2626BD
secondary
#CCCC73
accent
#E93EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2626BD

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

Preview Lab → · Contrast checker → · Palette generator →

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