#2A295E#2A295E

#2A295E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.092 H 280.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2A295E
RGBrgb(42, 41, 94)
HSLhsl(241, 39%, 26%)
HSVhsv(241, 56%, 37%)
CMYKcmyk(55.3%, 56.4%, 0%, 63.1%)
CIE-LABlab(19.58, 17.11, -31.65)
CIE-LCHlch(19.58, 35.98, 298.40°)
OKLaboklab(31.36% 0.0168 -0.0903)
OKLCHoklch(31.36% 0.092 280.5)
XYZxyz(3.7675, 2.8861, 10.9460)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A295E #5D5E29
analogous
#29435E #2A295E #45295E
triadic
#2A295E #5E2A29 #295E2A
tetradic
#2A295E #5E2943 #5D5E29 #295E45
square
#2A295E #5E2943 #5D5E29 #295E45
split-complementary
#2A295E #5E4529 #435E29
monochromatic
#0A0915 #171633 #2A295E #3D3C89 #514FB2

Accessibility & contrast

On white

13.31
#2A295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A295E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A295E#FFFFFF#000000##FFFFFF
##2A295E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3160
Deuteranopia (green-blind)
#072D5D
Tritanopia (blue-blind)
#15353F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a295e;
/* rgb */ color: rgb(42, 41, 94);
/* oklch */ color: oklch(31.4% 0.092 280.5);
Tailwind
colors: {
  custom: {
    50: '#68628c',
    500: '#2a295e',
    950: '#000000',
  },
}
SCSS
$custom: #2a295e;
$custom-light: #68628c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a295e",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 241.132,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.0919,
    "h": 280.5
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#2A295E
secondary
#8F9152
accent
#CF59CD
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #2A295E

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

Preview Lab → · Contrast checker → · Palette generator →

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