#2A265D#2A265D

#2A265D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.095 H 282.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#2A265D
RGBrgb(42, 38, 93)
HSLhsl(244, 42%, 26%)
HSVhsv(244, 59%, 36%)
CMYKcmyk(54.8%, 59.1%, 0%, 63.5%)
CIE-LABlab(18.66, 18.86, -32.46)
CIE-LCHlch(18.66, 37.54, 300.15°)
OKLaboklab(30.65% 0.0206 -0.0928)
OKLCHoklch(30.65% 0.095 282.5)
XYZxyz(3.6231, 2.6686, 10.6780)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A265D #595D26
analogous
#263D5D #2A265D #45265D
triadic
#2A265D #5D2A26 #265D2A
tetradic
#2A265D #5D263D #595D26 #265D45
square
#2A265D #5D263D #595D26 #265D45
split-complementary
#2A265D #5D4526 #3D5D26
monochromatic
#0A0916 #161432 #2A265D #3E3888 #514AB4

Accessibility & contrast

On white

13.69
#2A265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2A265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A265D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A265D#FFFFFF#000000##FFFFFF
##2A265D1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5F
Deuteranopia (green-blind)
#012C5C
Tritanopia (blue-blind)
#16323D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a265d;
/* rgb */ color: rgb(42, 38, 93);
/* oklch */ color: oklch(30.6% 0.095 282.5);
Tailwind
colors: {
  custom: {
    50: '#68608b',
    500: '#2a265d',
    950: '#000000',
  },
}
SCSS
$custom: #2a265d;
$custom-light: #68608b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a265d",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 244.364,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30647,
    "c": 0.09503,
    "h": 282.5
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#2A265D
secondary
#8B904F
accent
#D256C9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #2A265D

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

Preview Lab → · Contrast checker → · Palette generator →

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