#2A2B92#2A2B92

#2A2B92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.164 H 274.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2A2B92
RGBrgb(42, 43, 146)
HSLhsl(239, 55%, 37%)
HSVhsv(239, 71%, 57%)
CMYKcmyk(71.2%, 70.5%, 0%, 42.7%)
CIE-LABlab(24.62, 34.54, -56.61)
CIE-LCHlch(24.62, 66.31, 301.39°)
OKLaboklab(36.46% 0.0121 -0.1636)
OKLCHoklch(36.46% 0.164 274.2)
XYZxyz(7.0053, 4.2947, 27.6483)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B92 #92912A
analogous
#2A5F92 #2A2B92 #5D2A92
triadic
#2A2B92 #922A2B #2B922A
tetradic
#2A2B92 #922A5F #92912A #2A925D
square
#2A2B92 #922A5F #92912A #2A925D
split-complementary
#2A2B92 #925D2A #5F922A
monochromatic
#0F0F33 #1C1D62 #2A2B92 #3839C2 #6465D2

Accessibility & contrast

On white

11.30
#2A2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B92
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B92#FFFFFF#000000##FFFFFF
##2A2B921.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a2b92;
/* rgb */ color: rgb(42, 43, 146);
/* oklch */ color: oklch(36.5% 0.164 274.2);
Tailwind
colors: {
  custom: {
    50: '#7365b3',
    500: '#2a2b92',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b92;
$custom-light: #7365b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b92",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 239.423,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36461,
    "c": 0.16406,
    "h": 274.2
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#2A2B92
secondary
#B8B85F
accent
#DD49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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