#2D26B4#2D26B4

#2D26B4 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.6% C 0.211 H 273.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2D26B4
RGBrgb(45, 38, 180)
HSLhsl(243, 65%, 43%)
HSVhsv(243, 79%, 71%)
CMYKcmyk(75%, 78.9%, 0%, 29.4%)
CIE-LABlab(27.40, 49.04, -72.64)
CIE-LCHlch(27.40, 87.65, 304.02°)
OKLaboklab(39.55% 0.0119 -0.2102)
OKLCHoklch(39.55% 0.211 273.2)
XYZxyz(10.0108, 5.2384, 43.6547)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26B4 #ADB426
analogous
#2666B4 #2D26B4 #7426B4
triadic
#2D26B4 #B42D26 #26B42D
tetradic
#2D26B4 #B42666 #ADB426 #26B474
square
#2D26B4 #B42666 #ADB426 #26B474
split-complementary
#2D26B4 #B47426 #66B426
monochromatic
#14114F #201B81 #2D26B4 #4840D7 #7873E1

Accessibility & contrast

On white

10.25
#2D26B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D26B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26B4
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26B4#FFFFFF#000000##FFFFFF
##2D26B41.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003AB2
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d26b4;
/* rgb */ color: rgb(45, 38, 180);
/* oklch */ color: oklch(39.6% 0.211 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d64cc',
    500: '#2d26b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d26b4;
$custom-light: #7d64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26b4",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 242.958,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39554,
    "c": 0.21051,
    "h": 273.2
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#2D26B4
secondary
#C4C96D
accent
#E840E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0514
muted
#7C7A82

Preview Lab

Preview with #2D26B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2D26B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva