#2A2C83#2A2C83

#2A2C83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.143 H 275.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2A2C83
RGBrgb(42, 44, 131)
HSLhsl(239, 51%, 34%)
HSVhsv(239, 68%, 51%)
CMYKcmyk(67.9%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.44, 28.52, -49.20)
CIE-LCHlch(23.44, 56.87, 300.10°)
OKLaboklab(35.17% 0.013 -0.1419)
OKLCHoklch(35.17% 0.143 275.2)
XYZxyz(5.9509, 3.9318, 21.9136)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C83 #83812A
analogous
#2A5983 #2A2C83 #552A83
triadic
#2A2C83 #832A2C #2C832A
tetradic
#2A2C83 #832A59 #83812A #2A8355
square
#2A2C83 #832A59 #83812A #2A8355
split-complementary
#2A2C83 #83552A #59832A
monochromatic
#0C0D26 #1B1C55 #2A2C83 #393CB1 #5D5FCB

Accessibility & contrast

On white

11.76
#2A2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C83
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C83#FFFFFF#000000##FFFFFF
##2A2C831.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2c83;
/* rgb */ color: rgb(42, 44, 131);
/* oklch */ color: oklch(35.2% 0.143 275.2);
Tailwind
colors: {
  custom: {
    50: '#7065a8',
    500: '#2a2c83',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c83;
$custom-light: #7065a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c83",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 238.652,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35172,
    "c": 0.14251,
    "h": 275.2
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#2A2C83
secondary
#B1AF58
accent
#D84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2A2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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