#2A2B93#2A2B93

#2A2B93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.165 H 274.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2A2B93
RGBrgb(42, 43, 147)
HSLhsl(239, 56%, 37%)
HSVhsv(239, 71%, 58%)
CMYKcmyk(71.4%, 70.7%, 0%, 42.4%)
CIE-LABlab(24.72, 34.89, -57.07)
CIE-LCHlch(24.72, 66.89, 301.44°)
OKLaboklab(36.56% 0.0119 -0.1649)
OKLCHoklch(36.56% 0.165 274.1)
XYZxyz(7.0834, 4.3259, 28.0598)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B93 #93922A
analogous
#2A5F93 #2A2B93 #5E2A93
triadic
#2A2B93 #932A2B #2B932A
tetradic
#2A2B93 #932A5F #93922A #2A935E
square
#2A2B93 #932A5F #93922A #2A935E
split-complementary
#2A2B93 #935E2A #5F932A
monochromatic
#0F0F34 #1C1D63 #2A2B93 #3839C3 #6566D3

Accessibility & contrast

On white

11.26
#2A2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B93
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B93#FFFFFF#000000##FFFFFF
##2A2B931.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2b93;
/* rgb */ color: rgb(42, 43, 147);
/* oklch */ color: oklch(36.6% 0.165 274.1);
Tailwind
colors: {
  custom: {
    50: '#7365b4',
    500: '#2a2b93',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b93;
$custom-light: #7365b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b93",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 239.429,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36561,
    "c": 0.16537,
    "h": 274.1
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#2A2B93
secondary
#B9B860
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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