#2A269F#2A269F

#2A269F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.186 H 273.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2A269F
RGBrgb(42, 38, 159)
HSLhsl(242, 61%, 39%)
HSVhsv(242, 76%, 62%)
CMYKcmyk(73.6%, 76.1%, 0%, 37.6%)
CIE-LABlab(24.89, 41.98, -64.14)
CIE-LCHlch(24.89, 76.66, 303.20°)
OKLaboklab(37.06% 0.0127 -0.1855)
OKLCHoklch(37.06% 0.186 273.9)
XYZxyz(7.9039, 4.3809, 33.2232)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A269F #9B9F26
analogous
#265E9F #2A269F #66269F
triadic
#2A269F #9F2A26 #269F2A
tetradic
#2A269F #9F265E #9B9F26 #269F66
square
#2A269F #9F265E #9B9F26 #269F66
split-complementary
#2A269F #9F6626 #5E9F26
monochromatic
#100E3C #1D1A6E #2A269F #3934CE #6965DA

Accessibility & contrast

On white

11.19
#2A269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A269F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A269F#FFFFFF#000000##FFFFFF
##2A269F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a269f;
/* rgb */ color: rgb(42, 38, 159);
/* oklch */ color: oklch(37.1% 0.186 273.9);
Tailwind
colors: {
  custom: {
    50: '#7762bd',
    500: '#2a269f',
    950: '#000000',
  },
}
SCSS
$custom: #2a269f;
$custom-light: #7762bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a269f",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 241.983,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37056,
    "c": 0.18597,
    "h": 273.9
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#2A269F
secondary
#BDC061
accent
#E543DF
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A269F

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

Preview Lab → · Contrast checker → · Palette generator →

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