#2C26AA#2C26AA

#2C26AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.199 H 273.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2C26AA
RGBrgb(44, 38, 170)
HSLhsl(243, 63%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(74.1%, 77.6%, 0%, 33.3%)
CIE-LABlab(26.22, 45.77, -68.60)
CIE-LCHlch(26.22, 82.47, 303.71°)
OKLaboklab(38.38% 0.0129 -0.1985)
OKLCHoklch(38.38% 0.199 273.7)
XYZxyz(8.9851, 4.8231, 38.4798)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26AA #A4AA26
analogous
#2662AA #2C26AA #6E26AA
triadic
#2C26AA #AA2C26 #26AA2C
tetradic
#2C26AA #AA2662 #A4AA26 #26AA6E
square
#2C26AA #AA2662 #A4AA26 #26AA6E
split-complementary
#2C26AA #AA6E26 #62AA26
monochromatic
#121046 #1F1B78 #2C26AA #413AD3 #716CDE

Accessibility & contrast

On white

10.69
#2C26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26AA
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26AA#FFFFFF#000000##FFFFFF
##2C26AA1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c26aa;
/* rgb */ color: rgb(44, 38, 170);
/* oklch */ color: oklch(38.4% 0.199 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a63c5',
    500: '#2c26aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c26aa;
$custom-light: #7a63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26aa",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 242.727,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38384,
    "c": 0.19889,
    "h": 273.7
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#2C26AA
secondary
#C0C567
accent
#E641DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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