#2D26A0#2D26A0

#2D26A0 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.186 H 275.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2D26A0
RGBrgb(45, 38, 160)
HSLhsl(243, 62%, 39%)
HSVhsv(243, 76%, 63%)
CMYKcmyk(71.9%, 76.3%, 0%, 37.3%)
CIE-LABlab(25.20, 42.60, -64.23)
CIE-LCHlch(25.20, 77.07, 303.55°)
OKLaboklab(37.36% 0.0163 -0.1857)
OKLCHoklch(37.36% 0.186 275)
XYZxyz(8.1184, 4.4814, 33.6880)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26A0 #99A026
analogous
#265CA0 #2D26A0 #6A26A0
triadic
#2D26A0 #A02D26 #26A02D
tetradic
#2D26A0 #A0265C #99A026 #26A06A
square
#2D26A0 #A0265C #99A026 #26A06A
split-complementary
#2D26A0 #A06A26 #5CA026
monochromatic
#110F3D #1F1A6F #2D26A0 #3D34CF #6C66DB

Accessibility & contrast

On white

11.07
#2D26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26A0
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26A0#FFFFFF#000000##FFFFFF
##2D26A01.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d26a0;
/* rgb */ color: rgb(45, 38, 160);
/* oklch */ color: oklch(37.4% 0.186 275.0);
Tailwind
colors: {
  custom: {
    50: '#7862bd',
    500: '#2d26a0',
    950: '#000000',
  },
}
SCSS
$custom: #2d26a0;
$custom-light: #7862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26a0",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 243.443,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3736,
    "c": 0.18644,
    "h": 275
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#2D26A0
secondary
#BBC061
accent
#E543DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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