#2A299F#2A299F

#2A299F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.183 H 273.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2A299F
RGBrgb(42, 41, 159)
HSLhsl(241, 59%, 39%)
HSVhsv(241, 74%, 62%)
CMYKcmyk(73.6%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.50, 40.26, -63.13)
CIE-LCHlch(25.50, 74.87, 302.53°)
OKLaboklab(37.49% 0.0112 -0.1826)
OKLCHoklch(37.49% 0.183 273.5)
XYZxyz(8.0037, 4.5805, 33.2565)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A299F #9E9F29
analogous
#29639F #2A299F #65299F
triadic
#2A299F #9F2A29 #299F2A
tetradic
#2A299F #9F2963 #9E9F29 #299F65
square
#2A299F #9F2963 #9E9F29 #299F65
split-complementary
#2A299F #9F6529 #639F29
monochromatic
#10103E #1D1C6E #2A299F #3A39CC #6B6AD9

Accessibility & contrast

On white

10.96
#2A299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2A299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A299F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A299F#FFFFFF#000000##FFFFFF
##2A299F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a299f;
/* rgb */ color: rgb(42, 41, 159);
/* oklch */ color: oklch(37.5% 0.183 273.5);
Tailwind
colors: {
  custom: {
    50: '#7664bd',
    500: '#2a299f',
    950: '#000000',
  },
}
SCSS
$custom: #2a299f;
$custom-light: #7664bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a299f",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 240.508,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.18297,
    "h": 273.5
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#2A299F
secondary
#BEBF65
accent
#E246E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2A299F

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

Preview Lab → · Contrast checker → · Palette generator →

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