#2A299E#2A299E

#2A299E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.182 H 273.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2A299E
RGBrgb(42, 41, 158)
HSLhsl(241, 59%, 39%)
HSVhsv(241, 74%, 62%)
CMYKcmyk(73.4%, 74.1%, 0%, 38%)
CIE-LABlab(25.40, 39.92, -62.69)
CIE-LCHlch(25.40, 74.32, 302.49°)
OKLaboklab(37.38% 0.0114 -0.1813)
OKLCHoklch(37.38% 0.182 273.6)
XYZxyz(7.9173, 4.5459, 32.8013)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A299E #9D9E29
analogous
#29639E #2A299E #65299E
triadic
#2A299E #9E2A29 #299E2A
tetradic
#2A299E #9E2963 #9D9E29 #299E65
square
#2A299E #9E2963 #9D9E29 #299E65
split-complementary
#2A299E #9E6529 #639E29
monochromatic
#10103D #1D1C6D #2A299E #3A39CC #6A69D8

Accessibility & contrast

On white

11.00
#2A299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A299E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A299E#FFFFFF#000000##FFFFFF
##2A299E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a299e;
/* rgb */ color: rgb(42, 41, 158);
/* oklch */ color: oklch(37.4% 0.182 273.6);
Tailwind
colors: {
  custom: {
    50: '#7664bc',
    500: '#2a299e',
    950: '#000000',
  },
}
SCSS
$custom: #2a299e;
$custom-light: #7664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a299e",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 240.513,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37384,
    "c": 0.1817,
    "h": 273.6
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A299E

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

Preview Lab → · Contrast checker → · Palette generator →

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