#2A2376#2A2376

#2A2376 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.136 H 279.4°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#2A2376
RGBrgb(42, 35, 118)
HSLhsl(245, 54%, 30%)
HSVhsv(245, 70%, 46%)
CMYKcmyk(64.4%, 70.3%, 0%, 53.7%)
CIE-LABlab(20.05, 29.74, -46.50)
CIE-LCHlch(20.05, 55.20, 302.60°)
OKLaboklab(32.34% 0.0221 -0.134)
OKLCHoklch(32.34% 0.136 279.4)
XYZxyz(4.8248, 3.0019, 17.4612)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2376 #6F7623
analogous
#234676 #2A2376 #532376
triadic
#2A2376 #762A23 #23762A
tetradic
#2A2376 #762346 #6F7623 #237653
square
#2A2376 #762346 #6F7623 #237653
split-complementary
#2A2376 #765323 #467623
monochromatic
#080718 #191547 #2A2376 #3B31A5 #554AC9

Accessibility & contrast

On white

13.12
#2A2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2A2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2376
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2376#FFFFFF#000000##FFFFFF
##2A23761.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a2376;
/* rgb */ color: rgb(42, 35, 118);
/* oklch */ color: oklch(32.3% 0.136 279.4);
Tailwind
colors: {
  custom: {
    50: '#6e5f9e',
    500: '#2a2376',
    950: '#000000',
  },
}
SCSS
$custom: #2a2376;
$custom-light: #6e5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2376",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 245.06,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.32337,
    "c": 0.13585,
    "h": 279.4
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#2A2376
secondary
#A1A94C
accent
#DE4AD1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2A2376

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

Preview Lab → · Contrast checker → · Palette generator →

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