#2A299D#2A299D

#2A299D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.180 H 273.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2A299D
RGBrgb(42, 41, 157)
HSLhsl(241, 59%, 39%)
HSVhsv(241, 74%, 62%)
CMYKcmyk(73.2%, 73.9%, 0%, 38.4%)
CIE-LABlab(25.30, 39.58, -62.26)
CIE-LCHlch(25.30, 73.77, 302.44°)
OKLaboklab(37.28% 0.0115 -0.1801)
OKLCHoklch(37.28% 0.18 273.7)
XYZxyz(7.8316, 4.5117, 32.3499)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A299D #9C9D29
analogous
#29629D #2A299D #64299D
triadic
#2A299D #9D2A29 #299D2A
tetradic
#2A299D #9D2962 #9C9D29 #299D64
square
#2A299D #9D2962 #9C9D29 #299D64
split-complementary
#2A299D #9D6429 #629D29
monochromatic
#10103C #1D1C6C #2A299D #3938CB #6A69D8

Accessibility & contrast

On white

11.04
#2A299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A299D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A299D#FFFFFF#000000##FFFFFF
##2A299D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a299d;
/* rgb */ color: rgb(42, 41, 157);
/* oklch */ color: oklch(37.3% 0.180 273.7);
Tailwind
colors: {
  custom: {
    50: '#7664bb',
    500: '#2a299d',
    950: '#000000',
  },
}
SCSS
$custom: #2a299d;
$custom-light: #7664bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a299d",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 240.517,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37278,
    "c": 0.18045,
    "h": 273.7
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#2A299D
secondary
#BDBE64
accent
#E246E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2A299D

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

Preview Lab → · Contrast checker → · Palette generator →

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