#2A2983#2A2983

#2A2983 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.146 H 276.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2A2983
RGBrgb(42, 41, 131)
HSLhsl(241, 52%, 34%)
HSVhsv(241, 69%, 51%)
CMYKcmyk(67.9%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.71, 30.48, -50.40)
CIE-LCHlch(22.71, 58.90, 301.17°)
OKLaboklab(34.64% 0.0155 -0.1454)
OKLCHoklch(34.64% 0.146 276.1)
XYZxyz(5.8432, 3.7163, 21.8777)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2983 #828329
analogous
#295583 #2A2983 #572983
triadic
#2A2983 #832A29 #29832A
tetradic
#2A2983 #832955 #828329 #298357
square
#2A2983 #832955 #828329 #298357
split-complementary
#2A2983 #835729 #558329
monochromatic
#0C0C26 #1B1A54 #2A2983 #3938B2 #5C5BCC

Accessibility & contrast

On white

12.05
#2A2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2A2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2983
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2983#FFFFFF#000000##FFFFFF
##2A29831.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a2983;
/* rgb */ color: rgb(42, 41, 131);
/* oklch */ color: oklch(34.6% 0.146 276.1);
Tailwind
colors: {
  custom: {
    50: '#7063a8',
    500: '#2a2983',
    950: '#000000',
  },
}
SCSS
$custom: #2a2983;
$custom-light: #7063a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2983",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 240.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34638,
    "c": 0.14626,
    "h": 276.1
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#2A2983
secondary
#B0B157
accent
#DC4CDA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2A2983

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

Preview Lab → · Contrast checker → · Palette generator →

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