#2A26A3#2A26A3

#2A26A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.191 H 273.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2A26A3
RGBrgb(42, 38, 163)
HSLhsl(242, 62%, 39%)
HSVhsv(242, 77%, 64%)
CMYKcmyk(74.2%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.33, 43.31, -65.86)
CIE-LCHlch(25.33, 78.82, 303.33°)
OKLaboklab(37.49% 0.0119 -0.1905)
OKLCHoklch(37.49% 0.191 273.6)
XYZxyz(8.2566, 4.5220, 35.0809)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26A3 #9FA326
analogous
#2661A3 #2A26A3 #6926A3
triadic
#2A26A3 #A32A26 #26A32A
tetradic
#2A26A3 #A32661 #9FA326 #26A369
square
#2A26A3 #A32661 #9FA326 #26A369
split-complementary
#2A26A3 #A36926 #61A326
monochromatic
#100F40 #1D1A71 #2A26A3 #3B36D0 #6B68DC

Accessibility & contrast

On white

11.03
#2A26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A26A3
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26A3#FFFFFF#000000##FFFFFF
##2A26A31.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a26a3;
/* rgb */ color: rgb(42, 38, 163);
/* oklch */ color: oklch(37.5% 0.191 273.6);
Tailwind
colors: {
  custom: {
    50: '#7862c0',
    500: '#2a26a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a26a3;
$custom-light: #7862c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26a3",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 241.92,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.1909,
    "h": 273.6
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#2A26A3
secondary
#BFC263
accent
#E543E0
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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