#2C26AF#2C26AF

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

Color values

HEX#2C26AF
RGBrgb(44, 38, 175)
HSLhsl(243, 64%, 42%)
HSVhsv(243, 78%, 69%)
CMYKcmyk(74.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.78, 47.38, -70.69)
CIE-LCHlch(26.78, 85.09, 303.83°)
OKLaboklab(38.94% 0.0118 -0.2045)
OKLCHoklch(38.94% 0.205 273.3)
XYZxyz(9.4671, 5.0159, 41.0184)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C26AF #A9AF26
analogous
#2665AF #2C26AF #7126AF
triadic
#2C26AF #AF2C26 #26AF2C
tetradic
#2C26AF #AF2665 #A9AF26 #26AF71
square
#2C26AF #AF2665 #A9AF26 #26AF71
split-complementary
#2C26AF #AF7126 #65AF26
monochromatic
#13104A #1F1B7D #2C26AF #443DD5 #7470E0

Accessibility & contrast

On white

10.48
#2C26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C26AF
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C26AF#FFFFFF#000000##FFFFFF
##2C26AF1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.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: #2c26af;
/* rgb */ color: rgb(44, 38, 175);
/* oklch */ color: oklch(38.9% 0.205 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b63c8',
    500: '#2c26af',
    950: '#000000',
  },
}
SCSS
$custom: #2c26af;
$custom-light: #7b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c26af",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 242.628,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.20487,
    "h": 273.3
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#2C26AF
secondary
#C3C76A
accent
#E740E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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