#2A2350#2A2350

#2A2350 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.079 H 287.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2A2350
RGBrgb(42, 35, 80)
HSLhsl(249, 39%, 23%)
HSVhsv(249, 56%, 31%)
CMYKcmyk(47.5%, 56.3%, 0%, 68.6%)
CIE-LABlab(16.86, 16.43, -26.65)
CIE-LCHlch(16.86, 31.31, 301.66°)
OKLaboklab(28.99% 0.0239 -0.0757)
OKLCHoklch(28.99% 0.079 287.5)
XYZxyz(3.0034, 2.2734, 7.8684)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2350 #495023
analogous
#233350 #2A2350 #402350
triadic
#2A2350 #502A23 #23502A
tetradic
#2A2350 #502333 #495023 #235040
square
#2A2350 #502333 #495023 #235040
split-complementary
#2A2350 #504023 #335023
monochromatic
#0B0915 #141025 #2A2350 #40367B #5748A5

Accessibility & contrast

On white

14.44
#2A2350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A2350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2350
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2350#FFFFFF#000000##FFFFFF
##2A23501.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2B52
Deuteranopia (green-blind)
#0F284F
Tritanopia (blue-blind)
#1F2C35
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2350;
/* rgb */ color: rgb(42, 35, 80);
/* oklch */ color: oklch(29.0% 0.079 287.5);
Tailwind
colors: {
  custom: {
    50: '#665e81',
    500: '#2a2350',
    950: '#000000',
  },
}
SCSS
$custom: #2a2350;
$custom-light: #665e81;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2350",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 80
  },
  "hsl": {
    "h": 249.333,
    "s": 39.13,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28995,
    "c": 0.07937,
    "h": 287.5
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#2A2350
secondary
#7B844B
accent
#CF59BD
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2A2350

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

Preview Lab → · Contrast checker → · Palette generator →

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