#2A2390#2A2390

#2A2390 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.170 H 275.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2A2390
RGBrgb(42, 35, 144)
HSLhsl(244, 61%, 35%)
HSVhsv(244, 76%, 56%)
CMYKcmyk(70.8%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.68, 38.67, -58.57)
CIE-LCHlch(22.68, 70.19, 303.43°)
OKLaboklab(35.01% 0.0174 -0.1693)
OKLCHoklch(35.01% 0.17 275.9)
XYZxyz(6.5883, 3.7073, 26.7485)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2390 #899023
analogous
#235390 #2A2390 #602390
triadic
#2A2390 #902A23 #23902A
tetradic
#2A2390 #902353 #899023 #239060
square
#2A2390 #902353 #899023 #239060
split-complementary
#2A2390 #906023 #539023
monochromatic
#0D0B2E #1C175F #2A2390 #382FC1 #5F57D6

Accessibility & contrast

On white

12.06
#2A2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2390
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2390#FFFFFF#000000##FFFFFF
##2A23901.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a2390;
/* rgb */ color: rgb(42, 35, 144);
/* oklch */ color: oklch(35.0% 0.170 275.9);
Tailwind
colors: {
  custom: {
    50: '#7360b2',
    500: '#2a2390',
    950: '#000000',
  },
}
SCSS
$custom: #2a2390;
$custom-light: #7360b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2390",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 243.853,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.17019,
    "h": 275.9
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#2A2390
secondary
#B4BA54
accent
#E444DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2A2390

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

Preview Lab → · Contrast checker → · Palette generator →

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