#2C26A0#2C26A0

#2C26A0 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.187 H 274.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2C26A0
RGBrgb(44, 38, 160)
HSLhsl(243, 62%, 39%)
HSVhsv(243, 76%, 63%)
CMYKcmyk(72.5%, 76.3%, 0%, 37.3%)
CIE-LABlab(25.13, 42.50, -64.35)
CIE-LCHlch(25.13, 77.12, 303.45°)
OKLaboklab(37.29% 0.015 -0.1861)
OKLCHoklch(37.29% 0.187 274.6)
XYZxyz(8.0749, 4.4590, 33.6860)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26A0 #9AA026
analogous
#265DA0 #2C26A0 #6926A0
triadic
#2C26A0 #A02C26 #26A02C
tetradic
#2C26A0 #A0265D #9AA026 #26A069
square
#2C26A0 #A0265D #9AA026 #26A069
split-complementary
#2C26A0 #A06926 #5DA026
monochromatic
#110F3D #1E1A6F #2C26A0 #3C34CF #6C66DB

Accessibility & contrast

On white

11.10
#2C26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26A0
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26A0#FFFFFF#000000##FFFFFF
##2C26A01.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.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: #2c26a0;
/* rgb */ color: rgb(44, 38, 160);
/* oklch */ color: oklch(37.3% 0.187 274.6);
Tailwind
colors: {
  custom: {
    50: '#7862bd',
    500: '#2c26a0',
    950: '#000000',
  },
}
SCSS
$custom: #2c26a0;
$custom-light: #7862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26a0",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 242.951,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.1867,
    "h": 274.6
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#2C26A0
secondary
#BCC061
accent
#E543DD
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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