#2A269D#2A269D

#2A269D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.183 H 274.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2A269D
RGBrgb(42, 38, 157)
HSLhsl(242, 61%, 38%)
HSVhsv(242, 76%, 62%)
CMYKcmyk(73.2%, 75.8%, 0%, 38.4%)
CIE-LABlab(24.68, 41.31, -63.28)
CIE-LCHlch(24.68, 75.57, 303.14°)
OKLaboklab(36.84% 0.0131 -0.183)
OKLCHoklch(36.84% 0.184 274.1)
XYZxyz(7.7317, 4.3120, 32.3166)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A269D #999D26
analogous
#265D9D #2A269D #65269D
triadic
#2A269D #9D2A26 #269D2A
tetradic
#2A269D #9D265D #999D26 #269D65
square
#2A269D #9D265D #999D26 #269D65
split-complementary
#2A269D #9D6526 #5D9D26
monochromatic
#100E3A #1D1A6C #2A269D #3833CE #6864D9

Accessibility & contrast

On white

11.27
#2A269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A269D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A269D#FFFFFF#000000##FFFFFF
##2A269D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a269d;
/* rgb */ color: rgb(42, 38, 157);
/* oklch */ color: oklch(36.8% 0.183 274.1);
Tailwind
colors: {
  custom: {
    50: '#7662bb',
    500: '#2a269d',
    950: '#000000',
  },
}
SCSS
$custom: #2a269d;
$custom-light: #7662bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a269d",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 242.017,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36839,
    "c": 0.1835,
    "h": 274.1
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#2A269D
secondary
#BCBF60
accent
#E444DF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A269D

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

Preview Lab → · Contrast checker → · Palette generator →

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