#2D26AF#2D26AF

#2D26AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.205 H 273.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2D26AF
RGBrgb(45, 38, 175)
HSLhsl(243, 64%, 42%)
HSVhsv(243, 78%, 69%)
CMYKcmyk(74.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.84, 47.46, -70.58)
CIE-LCHlch(26.84, 85.05, 303.92°)
OKLaboklab(39% 0.013 -0.2042)
OKLCHoklch(39% 0.205 273.6)
XYZxyz(9.5106, 5.0383, 41.0204)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D26AF #A8AF26
analogous
#2664AF #2D26AF #7226AF
triadic
#2D26AF #AF2D26 #26AF2D
tetradic
#2D26AF #AF2664 #A8AF26 #26AF72
square
#2D26AF #AF2664 #A8AF26 #26AF72
split-complementary
#2D26AF #AF7226 #64AF26
monochromatic
#13104A #201B7D #2D26AF #453DD5 #7570E0

Accessibility & contrast

On white

10.46
#2D26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D26AF
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D26AF#FFFFFF#000000##FFFFFF
##2D26AF1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d26af;
/* rgb */ color: rgb(45, 38, 175);
/* oklch */ color: oklch(39.0% 0.205 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c63c8',
    500: '#2d26af',
    950: '#000000',
  },
}
SCSS
$custom: #2d26af;
$custom-light: #7c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d26af",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 243.066,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.2046,
    "h": 273.6
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#2D26AF
secondary
#C2C76A
accent
#E740DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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